removing slashes when using mail()

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have been sending emails using PHP with the mail() command/method.
When I send them tho it adds slashes, for example:

'hi guy's' gets sent as 'hi guy\'s'

Why is this? How do I sort this? Cheers


Re: removing slashes when using mail()

Quoted text here. Click to load it

Probably magic_quotes is set to ON on the server.... use stripslashes() to
remove the slashes...


Site Timeline