I have PHP Version 4.0.5-dev (Server API = Apache ), with MySQL 3.23.32 & Apache 1.3.17. I just installed the above configuration instead of an older one. Now none of my older scripts seem to work, as none of the variables are being passed. Can someone please help me?
regards
jmcevoy
¬:-)
What are some example variables that do not pass? Perhaps your register_globals setting was on, now it's off. See :
http://www.php.net/manual/en/configuration.php#ini.register-globals
If off :
http://www.example.com/foo.php?fruit=apple
echo $fruit;
Will print nothing.
echo $HTTP_GET_VARS['fruit'];
Will print 'apple' (if track_vars is on and it is HIGHLY likely it is). phpinfo() will tell you your current setting, this setting is set in php.ini
Yo philip ya I fixed the problem, I changed variables_order in the php.ini from GPCS to EGPCS and turned allow_call_time_pass_reference ON. Seems to work fine now!!!
Thanx for the advice though!!!
Regards
James