Re: file.php?variable=value
| From: | janet at valade dot com | Date: | Thu, 09 Jan 2003 01:19:26 +0000 |
| Subject: | Re: file.php?variable=value | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9634@lists.php.net to get a copy of this message | ||
In a message dated 1/8/03 4:53:09 PM Pacific Standard Time,
boughtatdiscount@cox.net writes:
> I installed Apache and PHP and when I try and run PHP files, they won't
> accept variable values that apache tries to post to it. I've tried using
> both forms and the format that you see above in the subject. Anyone got a
> guess at what may be wrong?
>
I suspect the problem is that your register_globals is turned off. If you
are accessing the variable as
$variable
and it doesn't seem to show anything, try accessing it as:
$_GET['variable'];
Janet
-------------------
Janet Valade
Author, PHP & MySQL for Dummies