Date: 02/07/03
- Next message: Ryan Williams: "Re: [PHP-INST] FW: GET not working"
- Previous message: Pennington, Tim: "[PHP-INST] FW: GET not working"
- Maybe in reply to: Pennington, Tim: "[PHP-INST] FW: GET not working"
- Next in thread: Ryan Williams: "Re: [PHP-INST] FW: GET not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: "'php-install <email protected>'" <php-install <email protected>>
n <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
- Next message: Ryan Williams: "Re: [PHP-INST] FW: GET not working"
- Previous message: Pennington, Tim: "[PHP-INST] FW: GET not working"
- Maybe in reply to: Pennington, Tim: "[PHP-INST] FW: GET not working"
- Next in thread: Ryan Williams: "Re: [PHP-INST] FW: GET not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

