tome Posted November 7, 2007 Share Posted November 7, 2007 Hi there I've got a form setup to pass variables from flash to a sql table using php, the php sends the varaibles to the table and sends me and the user notification email. Everything works great but in the email I get forward slashes appearing where the line should break, anyone knows how to strip the html tags in php? Here's the email part of my php script: <?php if ($REMOTE_ADDR == "") $ip = "no ip"; else $ip = getHostByAddr($REMOTE_ADDR); mail("$adminaddress","Info Request", "A visitor at $sitename has left the following information name: $name address: $address phone: $phone email: $email vemail: $vemail Logged Info : ------------------------------ Using: $HTTP_USER_AGENT Hostname: $ip IP address: $REMOTE_ADDR Date/Time: $date","FROM:$adminaddress"); mail("$email","Video Contest Submission Confirmation", "Dear $name, Thank you for your submission. Upon approval it will be available on $siteaddress for viewing and voting. Good Luck, $sitename $siteaddress","FROM:$adminaddress"); ?> thanks in advance Quote Link to comment Share on other sites More sharing options...
tome Posted November 8, 2007 Author Share Posted November 8, 2007 anyone has an idea how to remove the forward slash and create line breaks? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.