Re: [PHP-WIN] Register Globals

2003-10-21 Thread toby z
:) when u r workin with regs on u catch ur form variables just like $variable but when u work with regs off . u need to catch ur variables with $_POST[variable] or $_GET[variable] ur scripts will run fine on ur machine with regs on n variables $variable but ofcourse when u transfer them to

Re: [PHP-WIN] Register Globals

2003-10-21 Thread trystano
Ok, thanks. Is that because on the hosting server that I transfer my scripts to, they have their own PHP.ini file that relates to all scripts that are run on that server? Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Register Globals

2003-10-21 Thread toby z
no ! ! ! ! --- [EMAIL PROTECTED] wrote: > Just out of curiosity, if I was to work with register_globals set > to on (on > my home/testing/devel server), and then transfer my scripts across > to a hosting > server for them to be run live, will my scripts run if the PHP.ini > file is > configu

[PHP-WIN] Register Globals

2003-10-20 Thread Trystano
Just out of curiosity, if I was to work with register_globals set to on (on my home/testing/devel server), and then transfer my scripts across to a hosting server for them to be run live, will my scripts run if the PHP.ini file is configured to have register_globals set to off? Tryst -- PHP W

Re: [PHP-WIN] Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-31 Thread Davy Obdam
Hi Tom, Thanks for you help, got it to work with : php_flag register_globals on in a .htaccess file in the directory`s that need the register globals on. Best regards, Davy Obdam mailto:[EMAIL PROTECTED] Tom Rogers wrote: Hi, Friday, January 31, 2003, 10:42:42 AM, you wrote: DO> Thanks for y

[PHP-WIN] Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Tom Rogers
Hi, Friday, January 31, 2003, 10:42:42 AM, you wrote: DO> Thanks for your reactions guys, I stil havent been able to get it to DO> work... I have added a .htaccess file into my directory that needs the DO> register globals on, containing DO> php_value register_globals on DO> And i have chanche

Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Davy Obdam
Thanks for your reactions guys, I stil havent been able to get it to work... I have added a .htaccess file into my directory that needs the register globals on, containing php_value register_globals on And i have chanched AllowOverride None to all in the httpd.conf file, and restarted my webser

Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Dash McElroy
Yes. Either via a .htaccess file or in your httpd.conf in a Directory entry put this: php_value register_globals on See the following URL's for more info: http://www.php.net/manual/en/configuration.changes.php http://www.php.net/manual/en/function.ini-set.php -Dash AQUARIUS (Jan 20 - Feb 18)

[PHP-WIN] Register globals on and off

2003-01-29 Thread Davy Obdam
Hello people, On my development machine (win XP/Apache 2.0.44/PHP 4.3.0/MySQL 3.23.55) i have several websites that i made some time ago that require register globals to be On in the php.ini. Ofcourse i know thats not a good idea at all for security, but rewriting all this code is not an option