The reason your scripts/forms no longer work is that register_globals is no longer supported in PHP 5.4.
Register_globals become deprecated as of 5.3.0 and removed as of 5.4.0, you will have to rewrite all your scripts relying on register_globals=on. If you have some ancient systems written in PHP where complex rewriting would be a nightmare, and you need your site to work now, you may just add this line at the beginning of each PHP script that e.g. receives form-variables:
extract($_REQUEST);
Please note that this is a security issue which is why PHP has removed the option. (see here)
Sample of correct coding.
$variablename=$_POST["variablename"]; #from POST
or
$variablename=$_GET["variablename"]; #from GET
or
$variablename=$_REQUEST["variablename"]; #from both
- 194 Users Found This Useful
Related Articles
Where can I find documentation for ServerObject's AspMail component?
This documentation can be found at: http://www.serverobjects.com/products.html For...
How do I upload files through my web pages?
You can use Software Artisan's SAFileUP. This is an ASP component that allows you to upload files...
What is PageCounter and how do I use it?
About Page Counter PageCounter is an object that counts and displays the number of times a Web...
How do I setup Microsoft Outlook Express to read my e-mail?
Follow these steps: Open Microsoft Outlook Express. From the Tools menu, click...
How do I setup Netscape Messenger to read my e-mail?
Follow these steps: Open Netscape Navigator. Click the Edit menu and then click Preferences......