ctkdjane1 Posted September 30, 2006 Posted September 30, 2006 Hello I am new at this also. My host is Siteground and they use Fant anyways I get the usally error which is going to be posted below: Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. There wasn't any cagolog folder created and I just wanted to know how to write the code so it can work they said they will do it themselves but then if I needed to do this myself later on I will never know how so I want to try to do it on my own first. Could anyone help thank you
♥Vger Posted September 30, 2006 Posted September 30, 2006 If the server is Apache and the use of .htaccess files is allowed the create a .htaccess file and put this code in it and place it in the root of your domain. php_flag register_globals on If you create the file using Notepad then you'll have to call it txt.htaccess, upload it via FTP, and then rename it to .htaccess once it's on the server. If your site is on a Windows server then create a new text document on your desktop, rename it to php.ini and ignore the warning about changing the file type. Put this code in it: register_globals = On Upload this file to the root of your domain, and also place a copy inside the 'admin' folder. Vger
ddp Posted September 30, 2006 Posted September 30, 2006 Vger is right on the money here as usual with one tiny detail. If using notepad you can save the filename .htaccess all you need to do when saving is "save as" and then pick "save as type" and select all files. Then you can save the file as .htaccess not htaccess.txt. Just a minor point. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.