| 10:00 am on Mar 22, 2007 (gmt 0)|
They may have taken the opportunity to trun register_globals off. If that's it, as a quick fix to get back online you can do this at the top of each script:
foreach($_POST as $vbl => $val)
$$vbl = $val;
Then repeat as necessary for $_GET, $_SERVER, $_COOKIE...
Afterward, you can start going through each script and fixing them.
| 11:00 am on Mar 22, 2007 (gmt 0)|
Also remember to check your error logs as it will provide some information as to what is going on so you can make necessary changes to configuration settings, etc...
| 11:04 am on Mar 22, 2007 (gmt 0)|
The webhost has said php safe mode has also been turned on.
Any ideas what oscommerce files / config or otherwise i need to make these changes to?
thanks for your posts
| 11:38 am on Mar 22, 2007 (gmt 0)|
There are a few fixes about it available all over the place.
Years ago I used it
do a search with global and oscomm
also the fix is somewhere discussed on their forum.
search with exactly "oscommerce register globals patch"
| 12:13 pm on Mar 22, 2007 (gmt 0)|
hi, so are we saying this is 100% to do with the register_globals? i see there is a contrib available for register globals, i just want to be sure that since my host has upgraded to PHP 4.4.5 applying the register global fix will help me?
Is there anyone with 1st hand knowledge of this?
excuse my ignorance but how long has PHP version 4.4.5 been around?
| 1:29 pm on Mar 22, 2007 (gmt 0)|
do you know what version of php they upgraded from?
you could check the docs on the version of oscommerce you use to see if it relies on register_globals being on.
you could pick through the code to find out but that may take forever.