Re: [PHP] who added the damn slashes?
I believe the php.ini file has "magic_quote_runtime" (or simular) enabled. Not much you can do unless you have control of the server (ie, you are the admin). You have everything in an array, so it's quite easy to stripslashes() on the whole array... it'd be a lot harder with individual vars. Justin French Creative Director http://Indent.com.au on 15/04/02 8:42 PM, Jeroen Olthof ([EMAIL PROTECTED]) wrote: > Hi, > > The problem: > I don't use addslashes($) but somehow that is what happens to my posted > data > > The situation: > I'm building a wizard like form that read all posted data (HTTP_POST_VARS, > HTTP_GET_VARS etc..) and puts it in an array that is registerd in a session. > This gives me the possibility to use back en next in the wizard form. But > every time the slashes are added ! > > What is the solution > > PHP version 4.0.3pl1 > server is running a slash admin interface (so upgrading is a bit difficult) > > what to do , to avoid those auto addslasshes ??? > > kind regards > Jeroen Olthof > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] who added the damn slashes?
I believe your php.ini file has the magic_quotes set to On. If you switch this to Off it will no long add the quotes for you. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.471.1095 Fax: 816.471.3447 24x7: 816.210.7145 -Original Message- From: Jeroen Olthof [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 5:42 AM To: [EMAIL PROTECTED] Subject: [PHP] who added the damn slashes? Hi, The problem: I don't use addslashes($) but somehow that is what happens to my posted data The situation: I'm building a wizard like form that read all posted data (HTTP_POST_VARS, HTTP_GET_VARS etc..) and puts it in an array that is registerd in a session. This gives me the possibility to use back en next in the wizard form. But every time the slashes are added ! What is the solution PHP version 4.0.3pl1 server is running a slash admin interface (so upgrading is a bit difficult) what to do , to avoid those auto addslasshes ??? kind regards Jeroen Olthof -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] who added the damn slashes?
Hi, The problem: I don't use addslashes($) but somehow that is what happens to my posted data The situation: I'm building a wizard like form that read all posted data (HTTP_POST_VARS, HTTP_GET_VARS etc..) and puts it in an array that is registerd in a session. This gives me the possibility to use back en next in the wizard form. But every time the slashes are added ! What is the solution PHP version 4.0.3pl1 server is running a slash admin interface (so upgrading is a bit difficult) what to do , to avoid those auto addslasshes ??? kind regards Jeroen Olthof -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php