Re[2]: [PHP-WIN] Problem in passing parameters
| From: | Asmodean | Date: | Thu, 18 Jul 2002 01:49:07 +0000 |
| Subject: | Re[2]: [PHP-WIN] Problem in passing parameters | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14828@lists.php.net to get a copy of this message | ||
RF> Which variables? I hope you mean $_POST[username] and $_POST[password] ?
RF> If not, read the manual about accessing variables. Otherwise, let us know
RF> Ross
>> -----Original Message-----
>> From: Lung [mailto:mllo@sinaman.com]
>> Sent: 12 July 2002 16:26
>> To: php-windows@lists.php.net
>> Subject: [PHP-WIN] Problem in passing parameters
>>
>>
>> Hi,
>>
>> I have built a form for inputting username & password and
>> called login.php
>> to handle. However, I fail to pass the variables to index.php like:
>> �
>> "ëP˜x³&£“«1˜http://localhost/php/login.php?username=test&password=test. When
>> I check the
>> variables in login.php, it said these variables are unset. Please
>> adivse how
>> to solve it! I am using IIS & PHP 4.2.1 in Window 2000.
>> Thanks!
>>
>> Lung
>>
>>
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
Passing the arguments like that makes them available in
$_GET['username'] and $_GET['password'].
--
Best regards,
Asmodean mailto:asmodean@lka.nu