ok i have a php mail script which i am adding extra parts to for more info however it used to have 1 stripslashes bit for the msg but i need 3 other bits of info from the user so i made another stripslashes and that works but then the 3rd doesnt for some reason. see code below.
Thanks
PHP:
<?php
// headers for the email listed below
$headers .= "From: $name <$email>\n"; // your email client will show the person's email address like normal
$headers .= "Content-Type: text/plain; charset=iso-8859-1\n"; // sets the mime type
$recipient = "[email protected]"; // enter YOUR email address here
$subject = "Contact From website"; // this is the subject of the email
$msg = wordwrap( $msg, 1024 );
// WHEN I ADD ANOTHER STRIPSLASHES BELOW IT DONT WORK
mail($recipient, $subject, stripslashes($msg), stripslashes($clickbank), $headers); // the mail() function sends the message to you
//Once the data is entered, redirect the user to give them visual confirmation
header("location: thanks.html");
?>
Thanks







