- 1). Click on the Windows "Start" button, click on "All Programs," click on "Accessories," then click on the "Notepad" shortcut icon. This will open the Microsoft Windows "Notepad" text editor.
- 2). Copy the following code into the file, without quotation marks: "register_globals = Off," click on the "File" menu, click on "Save As," change the file type from "Text Documents" to "All Files," change the file save directory to the Windows Desktop, name the file "php.ini," then click on the "Save" button. The file "php.ini" should be present on your Windows Desktop.
- 3). Open the FTP application, log into your HostGator hosting account, go to the directory in which you want to disable "Globals," then upload the "php.ini" file into this directory. Wait for the upload process to complete, which should take a few seconds.
SHARE