|
Problem with uploading pictures with register_globals off
I had a problem with one of the sites is develop.
Recently the provider upgraded their servers to PHP5 and MySql 5. In the process the set the function register_globals off
The upload function for pictures stoppen functioning and there were no error reports..since they had disabled this as well.
Luckily they provided a solution for the osCommerce user which I tried for this mambo installation.
The solution
In the .htaccess file I inserted the next line with a trailing empty line
php_flag register_globals on
And uploaded it via FTP, and yes, it works great again !! I took me several hours to find the solution, but if you encounter the same problem, try this one....
No garanties af course and provided as is... you are solely responsible for your site, so please make regular Back-Ups.
|