Re: url
| From: | Janet Valade | Date: | Wed, 20 Oct 2004 17:32:02 +0000 |
| Subject: | Re: url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199920@lists.php.net to get a copy of this message | ||
Dan McCullough wrote:
I have this old script I wrote 2-3 years back. I gets arguments from the url. index.php?area=blah The client moved the code to another server and some odd happened. Nothing seems to be parsing from the URL anymore. The top code is <? if (!isset($area)) { ?> HTML THis code no longer seems to work and I am racking my brain trying to figure out what.It probably has to do with settings in php.ini. The new server probably has register_globals = off. The old one probably had it set to on. Try $_GET['area'] instead of $area. Janet
-------------------------------------------------------- "Theres no such thing as a problem unless the servers are on fire!" --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today!-- Janet Valade -- janet.valade.com