Register_Globals

Use .htaccess to turn on or off PHP Register Globals without editing your php.ini. This is a great way to enable older php scripts to run without making your whole site insecure.

simply create a .htaccess file in the base directory of your web content
or in the directory of the php script you wish to allow or disallow PHP Register Globals.
This is a great way to debug certain scripts without affecting the whole site.

php_flag register_globals on

or

php_flag register_globals off

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

be on the lookout for these common grammatical slip-ups

Takeaway: Sending a less-than-perfect e-mail to a friend is one thing; mistakes aren't really a...

Font Basics for Branding Your Small Business

There are many components of a brand identity: logo, color palette, font choice, and the Visual...

Change The Default Index Files!

Change Default Index Files Most web-domains setup your account to use a specific file extension...

Website traffic statistics

Question:I was hoping to find out how many hits the website gets. How do I go about checking the...