How to turn off register_globals in hostgator
For this you will need to change the entries/add two files. They are .htaccess file and php.ini files. [They are added here as attachments. Remove the .txt format and change names accordingly]
Download the file with the name php.ini.txt remove the .txt from name and paste the php.ini file in the Home directory. /home/username
Download the htaccess.txt file. Rename the file to .htaccess(there should be a dot in the beginning of the file name). Open and edit the file, replacing the text username with the username that you got with your account.
That should do the trick and you should be ready to run your site.