register_globals problem

Asked by:
aparkcity / 10 Points
Time:
2012-08-30 9:34 am EST
Category:
General Server Setup
Hits:
608
Hi - does anyone know how to get in touch with webhosthub support?! I thought I was asking them a question but it appears i'm going to the whole community!! anyway, can't figure out how to turn "register_global" variable "ON". I changed the php.ini file but it is still showing as "off". Thanks for any help you can give me.

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
16,266 Points
2012-08-30 3:56 pm EST
Hello aparkcity,

You can contact WebHostingHub support department (open 24/7) by either email, phone or chat. Follow the link there to see phone numbers and email address.

As for your register_globals, simply turning it 'ON' will only work for that particular folder unless you have set it to be recursive within your .htaccess file. Recursive means that all folders under the one the php.ini resides will also use the file. If it is not set to be recursive the other folders will use the server defaults.

To set the php.ini to be recursive, simply log into your cpanel and go to the File Manager. (Be sure to check the box labeled "Show Hidden Files"). Once in the File Manager, right-click on the file named .htaccess and select Edit from the menu. After the editor opens up, simply place the following code at the top of the file:

suPHP_ConfigPath /home/username/public_html

Be sure to change 'username' to your cpanel username, the rest of the code line stays as is. Save the changes by clicking the button in the upper right corner.

The register_globals setting is deprecated in php version 5.3. This means that, while it currently exists, it should be avoided as it is to be removed in a future version. It will still work in 5.3, however. PhP 5.4 will no longer have the option at all.

Best Regards,
Scott M

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}