Re: FW: GET not working

From: Date: Fri, 07 Feb 2003 18:21:21 +0000
Subject: Re: FW: GET not working
Groups: php.install 
Request: Send a blank email to php-install+get-9985@lists.php.net to get a copy of this message
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@lists.php.net'" <php-install@lists.php.net> n@eds.com> 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

« previous php.install (#9985) next »