RE: [PHP-INST] PHP not accepting variables
| From: | Rich Gray | Date: | Thu, 03 Apr 2003 16:17:38 +0000 |
| Subject: | RE: [PHP-INST] PHP not accepting variables | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10482@lists.php.net to get a copy of this message | ||
> Hi,
> I just installed php on apache 1.3 under SUSE 8.1 (all the
> SUSE rpms) and it doesnt seem to like passing variables in the
> http request...
>
> eg.
>
> http://piatek.kicks-ass.net/tanzania2001/diary/index.php?Open=day0
> 6.php the index.php page doesnt seem to get passed that
> variable... and i have no idea why... (btw, that url may not be
> valid... I dont have a static ip yet... )
>
> Does anyone know if there is an option i should be looking at in
> the php.ini?
>
> Anton
Anton
I'd guess it is because register_globals is off by default in php.ini
http://www.php.net/manual/en/security.registerglobals.php
Try echo $_GET['Open'] in your index.php script...
HTH
Rich