The Troubles with User Input
| From: | Mike Gifford | Date: | Fri, 07 Jul 2000 06:21:50 +0000 |
| Subject: | The Troubles with User Input | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-5319@lists.php.net to get a copy of this message | ||
Hello,
Is there an easy way to stop special characters (like ' ) from messing
up how they are displayed by PHP. Whenever someone enters in a ' in the
script it comes back with lots of slashes before it.
This message:
http://www.openconcept.on.ca/cards/receive.php3?viewcard=276
Was sent with the following request:
This is a test ' This is a test
But I got this instead:
This is a test \\ This is a test
The entire script can be found here:
http://www.openconcept.on.ca/guide-cards.phtml
Thanks.
Mike
--
Mike A. Gifford OpenConcept Consulting
Mike@OpenConcept.On.Ca Http://www.OpenConcept.On.Ca
Web Design, Hosting, Graphic Design & Site Promotion
Featured Site --> Http://WTOAction.Org