you'll need to use $_GET['x'] and refer to
http://www.php.net/manual/en/security.registerglobals.php.
hth
jeff
"Pennington, Tim"
<timothyjonathon.penningto To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]> cc:
Subject: [PHP-INST] FW: GET
not working
02/07/2003 01:17 PM
> Apache 1.3.27
> PHP 4.3.0
> WNT
>
> After installing the above software components I can't the the GET
> machanism to work using the "?" as part of the URL. Simple example:
>
> Create a file called test.php and enter following code:
>
> <?
>
> print "<a href=test.php?mode=x>Make text appear below</a>";
>
> if ($mode=='x')
>
> {
>
> print "Success!\n";
>
> }
>
> ?>
>
> When you load the page you should see a link, that when selected,
displays
> the text "Success!"
>
> I do NOT see the "Success" text on my system.
>
> Please can you help understand where the problem lies.
>
> Thanks and regards,
>
> Tim
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php