Re: [PHP] Help:escape_string and stripslashes

2004-11-08 Thread Jason Wong
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

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Stuart Felenstein
--- Jason Wong <[EMAIL PROTECTED]> wrote: > 2) Lookup array_map() and understand what it does. > > 3) stripslashes_deep() is a recursive function (ie. > it calls itself). You > should find a good tutorial on recursive functions > to learn exactly what it > does. Thank you Jason. Another thi

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Jason Wong
On Sunday 07 November 2004 13:03, Stuart Felenstein wrote: > On second thought, I have a question. What is the > $value in the example ? $_POST, then $_GET, then $_COOKIE > Does that mean I put in my own values ? 1) No. 2) Lookup array_map() and understand what it does. 3) stripslashes_deep(

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Stuart Felenstein
--- Stuart Felenstein <[EMAIL PROTECTED]> wrote: On second thought, I have a question. What is the $value in the example ? Does that mean I put in my own values ? Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Stuart Felenstein
--- Jordi Canals <[EMAIL PROTECTED]> wrote: > In the manual > http://es2.php.net/manual/en/function.get-magic-quotes-gpc.php > you have an example just for that. Take a look to > the Example 2. > Ok, that makes sense. Thank you . Stuart -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Help:escape_string and stripslashes

2004-11-07 Thread Jordi Canals
On Sun, 7 Nov 2004 03:52:28 -0800 (PST), Stuart Felenstein <[EMAIL PROTECTED]> wrote: > I asked a question yesterday about this but I think my > question is now more fine tuned: > > Right now I have about 50+ session variables that will > be inserted into my mysql database in a transaction. > I n

[PHP] Help:escape_string and stripslashes

2004-11-07 Thread Stuart Felenstein
I asked a question yesterday about this but I think my question is now more fine tuned: Right now I have about 50+ session variables that will be inserted into my mysql database in a transaction. I need to do the mysql_real_escape_string and because magic_quotes_gpc is turned on stripslashes as w