For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > September 2007 > Form processing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Form processing
ron.php

2007-09-11, 10:01 pm

I am trying to set up a form which will send e-mails for "late breaking news"
and urgent e-mailings. _

If I have "Today's news" in the subject line on the e-mail it comes out
with "Today\'s news" --- how can I prevent this from happening? _

Ron

David Robley

2007-09-12, 6:59 pm

ron.php wrote:

> I am trying to set up a form which will send e-mails for "late breaking
> news" and urgent e-mailings.
>
> If I have "Today's news" in the subject line on the e-mail it comes out
> with "Today's news" --- how can I prevent this from happening?
>
> Ron


Check your magic_quotes_gpc setting, probably on and would be better off. Of
course this may create havoc with database queries if you aren't already
ignoring it and using the appropriate escaping for whatever db you use.



Cheers
--
David Robley

Entropy isn't what it used to be.
Today is Setting Orange, the 36th day of Bureaucracy in the YOLD 3173.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com