Re: register globals :|
| From: | Leif K-Brooks | Date: | Thu, 27 Mar 2003 00:43:11 +0000 |
| Subject: | Re: register globals :| | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141146@lists.php.net to get a copy of this message | ||
Only per-directory, by putting a .htaccess file in that directory which turns RG on.
Sebastian wrote:
Hmm .. might be easier to use an .htaccess. Is it possible to enable Register Global just for the script and not the site? I heard it's possible to enable it on just one directory (where the script resides). cheers, - Sebastian ----- Original Message ----- From: "Leif K-Brooks" <eurleif@buyer-brokerage.com> | http://www.php.net/manual/en/function.import-request-variables.php at | the top of the script, or use .htaccess to change RG to on. | | Sebastian wrote: | | >Is there any work-around to get a scipt that requires globals to be ON work | >when globals is OFF? | > | >Its a small script so it shouldn't be too hard... I just don't know what to | >look for or what has to be changed so it works again... (since i moved | >servers...) | > | >Thanks for any help. | > | >cheers, | >- Sebastian | > | > | > | | -- | The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. | | |-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.