Re: parsing value by URL
| From: | Richard Davey | Date: | Wed, 12 May 2004 11:45:45 +0000 |
| Subject: | Re: parsing value by URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185974@lists.php.net to get a copy of this message | ||
Hello,
Wednesday, May 12, 2004, 12:42:30 PM, you wrote:
gr> script 2
gr> _________________________________________
gr> second script ... that is detailedresults.php
gr> <?php
gr> print $name;
gr> print "$name";
?>>
You've probably got Register Globals turned off (and quite rightly)
which means try this in script 2:
echo $_GET['name'];
echo $_GET['firstfile'];
See the section of the PHP manual on register globals to understand
why.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html