Re: Problem in passing parameters

From: Date: Sat, 20 Jul 2002 07:45:55 +0000
Subject: Re: Problem in passing parameters
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-14857@lists.php.net to get a copy of this message
Hi ALL, If NT domain authentication insted of PHP authentication is employed, is it possible to pass the username into a PHP script? KK Lee Lung 寫入: > Thanks all of you, I have solved the problems by using $_REQUEST. The > problem comes as I use php 4 with register_global off. So, my old scripts > won't work! > > "Asmodean" <asmodean@lka.nu> wrote in message > news:66868656.20020718034907@lka.nu... > > 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: > > >> > > >> 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ã > > <=ûQàg”³¦¡ät¿r > >

« previous php.windows (#14857) next »