Use notepad (or other text editor) create an ASCII text file with this line:
PHP Code:
<?php phpinfo() ?>
Save that file as test.php
Must be a text file with .php extension - NOT test.php.txt
>Upload test.php (as ASCII file) - to the server
Run test.php from the browser
e.g.
www.domain.com/test.php
This will display all the php settings. Use 'find' to check the 'safe' mode section to make sure it is OFF. e.g. look under the Configuration PHP Core Table in the Directive column to see that safe mode is off.
Check that register_globals are on
Use 'find' to check that register_globals are on ! If they need to be turned on - then the settings at your host will determine the method that must be used.
For apache server, add this : php_flag register_globals on to the .htaccess file.
Create a php.ini file with this : register_globals = on; (or similar depending on your host!)
Note 1: A php.ini or a .htaccess file should be in the same directory (or a higher directory) as the script. Both are ASCII (regular text) files that must be unloaded as text files.
Note 2: To check to see if the change worked, recheck test.php (above) and look at the 'local' column to see if register_globals are now on.