Re: Help:escape_string and stripslashes
| From: | Jason Wong | Date: | Mon, 08 Nov 2004 16:31:13 +0000 |
| Subject: | Re: Help:escape_string and stripslashes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201497@lists.php.net to get a copy of this message | ||
On Sunday 07 November 2004 14:27, Stuart Felenstein wrote:
> Another thing I'm wondering and not clear on .
> I have 5 pages of forms, a 6th page is where the
> processing , transaction is taking place.
> Would it be sufficient to add stripslashes_deep() to
> only the last page (6th page) ?
> Each succeeding page, posts the previous page
> varibles.
> I'm guessing the last (6th page) would be enough, but
> would like to confirm.
The logical answer is run it wherever it is needed. As magic quotes are
enabled I would have thought that you need to strip slashes (using whatever
method) before you can validate the data.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
*** Knghtbrd is now known as SirKewLDooD
*** Mercury kicked SirKewlDooD from #quakeforge (*WHACK*)
*/