post your comment   print   send to a friend
Rate:  50% | Views: 1848
Question categories:  Unix Plans

how can i enable the register_globals directive in php?

Answer by: George Kaloyanov, Aplus.Net Knowledge Base Support

The PHP directive “register_globals” is disabled by default mainly because of the security holes it potentially leaves open. This is primarily accomplished by un-initialized or “poisoned” variables which threaten improperly coded scripts that rely on register_globals to be enabled. The security implications are explained in great detail in the PHP manual here.

Note: These instructions apply to Unix-based plans (Business Class Unix, Pro, eCommerce Unix) using PHP4 or PHP5.

You can easily enable the register_globals directive for your own hosting plan by modifying the contents of your custom php.ini file using the PHP Configuration tool available in the Aplus.Net Control.

Here’s how:

  1. Start by logging into the Aplus.Net Control Panel at http://cp.aplus.net using your Registration Number and Customer Password.
  2. Select Web Hosting from the top navigation bar.
  3. Next, select Hosted Domains and click on Manage Hosted Domains.
  4. Now, select the hosted domain name that you’d like to manage.

Note: If your actual domain name does not yet resolve to Aplus.Net’s servers, you must use the utility domain (yourftpusername.web.aplus.net) that is associated with your Unix-based hosting plan.

  1. Click the PHP Configuration icon.
  2. Click the Create php.ini button.

Note: If you are already using a custom php.ini file, you can skip step 6.

  1. Select the register_globals “On” radio button.
  2. Click Save Settings.

Note: The Advanced Edit button will open the entire php.ini file in edit mode. Please use this option, if you are familiar with the PHP configuration.

Related Links:

Customer Feedback
Rate:  50% | Views: 1848 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 PHP5 Hosting | Hosting Services    Back to serch results
Browse the Base
Knowledge Base
Shared Hosting
  Unix Plans
    MySQL
Messages
 

$75 Free Google AdWords

Free $75 Google AdWords when you sign up for WebImage! Target by location, create your own, or let Google create your ads for you. Check out http://www.aplus.net/google.html to see how AdWords works for you.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. I have a Unix-based shared hosting plan. How can I change permissions for files/directories using the File Manager?
 
2. How can I protect directories?
 
3. How to Set Up a Storefront ?
 
4. What are the permissions on files and directories?
 
5. In Unix, what is the find command, and how do I use it to search through directories for files?
 
Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest