Hi guys I left my script in working condition but my host upgraded php to 5.2.12 and since that upgrade my script is not working. I troubleshoot and find that script is not connecting with database. Any idea what is difference between previous i.e. 4.... and 5.2.12 version regarding database connectivity? Which things I need to check? GCS
There are a ton of changes from 4 to 5.2. Turn error_reporting to E_ALL. Most likely it was something like register_globals. If you can, try compare your php.ini files between the 2 versions.
Not a good plan. PHP 4 will be gone forever sooner or later. Might as well deal with the upgrade on your own terms, rather than having to rush when it's suddenly announced that you can't use anymore.
Yes, it'll be better to find parts of code which must be changed. But if there are lots of mistakes - you can try to add such line to your .htaccess file: