Re: [PHP] Re: register_globals won't turn off!

2003-09-27 Thread Tom Rogers
Hi, Sunday, September 28, 2003, 12:36:19 PM, you wrote: DK Don't know anything about an auto_prepend_file. There is no .htaccess file. DK Beside, phpinfo says register_globals is off both globaly and localy. DK Damon DK Greg Beaver [EMAIL PROTECTED] wrote in message DK news:[EMAIL PROTECTED]

RE: [PHP] Re: register_globals On

2003-02-20 Thread Johnson, Kirk
-Original Message- An alternative... 1. register_globals off use the command import_request_variables(PC,_p); now you can get the variables like user as $p_user. The get variables will be ignored! Still, If a user developes a special browser, exclusively to hack, he may be

Re: [PHP] Re: register_globals odd behaviour?

2001-08-22 Thread Sean C. McCarthy
Hi, Internally I use variables but I use the array to update the value since I have problems with the scope inside classes. So I update the value on the array just at the end of the script by registering an update function with register_shutdown_function(). What is the reason that I should not

Re: [PHP] Re: register_globals odd behaviour?

2001-08-22 Thread Richard Lynch
What is the reason that I should not use the array? Is there any problem doing it that way? They array is simply not designed for you to use as if it were your variable. What you want to do is this: ?php # Beginning of script: session_start(); session_register('count');