Pulling variables from a URL
| From: | Frank Tudor | Date: | Tue, 14 Oct 2003 17:16:15 +0000 |
| Subject: | Pulling variables from a URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166092@lists.php.net to get a copy of this message | ||
I have a URL including variables... It looks like this:
http://registration.php?username=111111&email=test@test.com
But I can't pullit into the next page's form
Here is what is in the form and other things I have tried:
$username = $_HTTP_POST_VARS['username'];
echo $_GET['$username'];
echo $_POST['$username'];
This page sumbits with PHP_SELF if that helps with this puzzle.
Can someone tell me what I'm doing wrong?
Also I do have an include file that looks for session
information but Ihave disabled it to see if I can pass
variables.
Frank
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com