Re: Help:escape_string and stripslashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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*)
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux