1 jason Jul 18, 2005 23:44
3 jason Jul 20, 2005 23:15
Turned the register_globals setting to off in the php.ini file.
Restarted HTTPD.
Then in b2upload.php replaced as follows:
$HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_SERVER_VARS, $HTTP_POST_FILES in all files with $_GET, $_POST, $_COOKIE, $_SERVER and $_FILES respectively seems to have solved the problem.
This then complies with php 5.x and the use of global variables, not sure how many other places use this but a simple search and replace will cure that!
Happy Days...
OK, found out that PHP 5 may be the issue, specifically the use of global variable when posting, HTTP_POST_FILES
Set the register_globals = On in the php.ini file, restarted the httpd process and hey presto it works.
This does give rise to a possible security risk.
Is there a work around such that the setting can be set to off, a more secure setting?
If not I'll try and work on one, my perl scripting is a bit wolley though! :-)