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:[EMAIL PROTECTED]]
>> Sent: 12 July 2002 16:26
>> To: [EMAIL PROTECTED]
>> 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:
>> 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:[EMAIL PROTECTED]


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to