Re: [PHP-WIN] globals on globals off (ACK!!)

2003-09-16 Thread toby z
hay frank no swet pal . change php.ini recomended to just php.ini like im sure u must have had for windows or did u anyways once u have opened up php.ini search for register globals (ctrl+f) u will see : register globals off just put on in the place of off :) hope this works it out

[PHP-WIN] globals on globals off (ACK!!)

2003-09-16 Thread Frank Tudor
This is more for a linux group post but I know someone can provide enlightenment on this issue. I have the latest version of apache and php I have created my entire sie in a foxserv environment on windows but my production environment is on mandrake linux 9.1 The globals are set to off but i'll b

[PHP-WIN] $GLOBALS

2003-06-11 Thread Mike
When running the following code: foreach($GLOBALS['photo'] as $photo) I get: Warning: Invalid argument supplied for foreach() on line 63 Would register globals have to be on for this code to work? Am I using the $GLOBALS clause wrong? It would seem to me that this should work since you can us