Re: Newbie working with PHP 5.0, IIS, Win2000

From: Date: Wed, 18 Aug 2004 18:17:05 +0000
Subject: Re: Newbie working with PHP 5.0, IIS, Win2000
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-14153@lists.php.net to get a copy of this message
On Tue, 2004-08-17 at 21:03, Chuck wrote: > Thanks for the quick reply. I wasn't sure which room I should post to, so I > posted to this one and php.windows. I will only try one in the future. > > I went through all the documents I could and found what these warnings were, > but nothing helped. The variables are not passed to my second script. I > went ahead and changed my form and my script. So, pass.php now looks like > this... > <form action="pass1.php" method="post"> > Name: <input type="text" name="username" /><br /> > <input type="submit" name="submit" value="Submit me!" > /> > </form> > Only username is being passed to pass1.php. > > I then incorporated the code you sent me into pass1.php. It is now like > this. > <?php > // Available since PHP 4.1.0 > if (isset($_POST['username'])) > { > echo $_POST['username']; > } > ?> > I do not receive any output now. Besides the CGI error. I can find out > about this later, but it should be outputting the username. Assuming you have register_globals set to off in php.ini. I can't help on the CGI error as I do not use PHP with IIS or MS Windows. If this does not sort out your problem then I suggest you ask the php-windows list. Regards Chris

« previous php.install (#14153) next »