Re: Strange server configuration
| From: | David Phillips | Date: | Tue, 29 Oct 2002 17:43:03 +0000 |
| Subject: | Re: Strange server configuration | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8962@lists.php.net to get a copy of this message | ||
claudel writes:
> Hello. I have been using a hosted server for
> a while, however they have recently changed the
> configurations and until their support replies
> I am left with the strange occurence of this:
>
> http://63.160.181.101/test.php?var=test
>
> The variable is not being passed via php. This has
> happened to all the scripts on the server, leaving
> a lot of searches unavailable, annoyingly.
Show us the code. Most likely, they turned off register globals. Try this:
echo "var = $_GET[var]";
See this:
http://www.php.net/manual/en/print/language.variables.external.php
--
David Phillips <david@acz.org>
http://david.acz.org/