FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Session globals through .htaccess





AlexNet
What is the string for .htaccess to allow session globals? I cant seem to find it anywhere.Question



Thanks
Daniel15
Do you mean register_globals? In that case, it's:
Code:

php_flag register_globals 1


If you'd like to turn register_globals off, just change the '1' to a '0'.
AlexNet
am I correct in saying that the .htaccess file in the root directory is the one to alter? or should there be one in the public html?
n0obie4life
AlexNet wrote:
am I correct in saying that the .htaccess file in the root directory is the one to alter? or should there be one in the public html?


public_html
Related topics
htaccess Password Protection
[tutor] How to protect images without htaccess using PHP
How To : Secure Your PHP Website
PHP Tutorials
Few questions
Google and Domains: help
.htaccess problem
.htaccess instead of mod_rewrite
.htaccess for php
How to redirect to a particular directory
Redirecting through .htaccess.
HTML compressor
.htaccess rewrite
Joomla! 3.0 support
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.