Thread: Custom PHP.ini?
View Single Post
Old January 12th, 2006, 1:34 PM   #3 (permalink)
codergent
Registered User
Fresh Surpasser
 
Joined in Oct 2003
25 posts
Gave thanks: 0
Thanked 0 times
Thanks that did it. Here's an example.

In .htaccess
Code:
php_value register_globals Off
If used, the local value will differ from the master value when viewed in phpinfo(). Also if you place this .htaccess file in say /home/username/public_html/, the register_globals value is in effect across the entire web site, say in public_html's subfolders. If you wish you only have register_globals only apply to certain (sub) folders, one should only include the .htaccess file in those folders
codergent is offline   Reply With Quote