TemasekTech Co., Ltd
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • USA Shared Hosting
    • Asia Shared Hosting
    • China Shared Hosting
    • Europe Shared Hosting
    • USA VPS Hosting
    • Asia VPS Hosting
    • China VPS Hosting
    • Europe VPS Hosting
    • USA Dedicated Server
    • Hong Kong Dedicated Server
    • China Dedicated Server
    • Europe Dedicated Server
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • Chat Now
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Database and PHP
  4. How to Disable Register_Globals in Linux PHP

  Categories

10
China Shared Hosting Questions
2
Common issue encounter on hosting
4
Control Panel
4
cPanel
7
Database and PHP
1
DirectAdmin (User Level Guide)
12
Email Hosting Questions
12
File Transfer Protocol (FTP)
2
Legal Information
2
Payment Option
1
Recommended URL Submit
15
Sales Enquiry

  Categories

  Tag Cloud

apache failed to start Change DirectAdmin IP china hosting smtp cloud cyberpanel directadmin directadmin install guide extra IP free control panel high ClamAV resource on ram mailing mass mailing port 80 port blocked smtp SMTP Limit spam spamming

  Support

  My Support Tickets   Announcements   Knowledgebase   Downloads   Network Status   Open Ticket

How to Disable Register_Globals in Linux PHP Print

  • 1

PHP is by default register_globals ON. Sometimes scripts may require that variable to be off. This cannot be done by changing the server php.ini as everyone would be affected. One way is to create a .htaccess file in the root directory of your domain and add in this line

php_flag register_globals off

This should disabled register_globals for your domain

Was this answer helpful?

Related Articles

I get "mysql_connect(): Client does not support authentication protocol requested by server" warning If you are getting such errors as"Warning: mysql_connect(): Client does not support... Where do I get PHP/MySQL Information and Configuration For those who are programming and needs some information on their PHP and MY SQL versions and... PHP Safe Mode and Open Base Dir PHP Safe Mode and Open Base Dir, users can email us to have the Safe Mode and Open Base Dir... PHP Errors and Browser Cache More often than not when you had solved a PHP error, the error still appear on your browser even... How to turn magic_quotes_gpc off magic_quotes_gpc is on by default. It cannot be turn off at the main php.ini as it will affect...
« Back

Powered by WHMCompleteSolution

  Tag Cloud

apache failed to start Change DirectAdmin IP china hosting smtp cloud cyberpanel directadmin directadmin install guide extra IP free control panel high ClamAV resource on ram mailing mass mailing port 80 port blocked smtp SMTP Limit spam spamming

  Support

  My Support Tickets   Announcements   Knowledgebase   Downloads   Network Status   Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2023 TemasekTech Co., Ltd. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Choose Currency

$ USD
¥ CNY

Generate Password

Please enter a number between 8 and 64 for the password length