Help:escape_string and stripslashes

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

 



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 well.

I'm wondering if there is a way to use a function or
class within my connection script to take care of all
of this ? As oppposed to listing everyone out ?  I
know I can pass all the variables as an array but some
of the variabls are arrays themselves, so not sure how
that would work.

Any suggestions ?

Thank you
Stuart

-- 
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