Version of script: 093
Version of PHP: 4.3.2
Hosting company: my own server
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try: apostrophe
When ever a user used and apostrophe in the subject. The email that they recieved back and the admin email would have / (a slash) right infront of the apostrophe '.
My fix was to do this:
I edited: submit_ticket.php
orginal line of code:
Code: Select all
$message=str_replace('%%SUBJECT%%',$subject,$message);
Code: Select all
$message=str_replace('%%SUBJECT%%',stripslashes($subject),$message);
http://us3.php.net/stripslashes info on stripslashes
Just thought I'd share this, not sure if anyone else had this problem.
Great script thank you!
stopmotion24