note 30944 added to faq
| From: | bmxracer721 at cfl dot rr dot com | Date: | Fri, 04 Apr 2003 01:32:38 +0000 |
| Subject: | note 30944 added to faq | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46198@lists.php.net to get a copy of this message | ||
I am currently exploring PHP. My OS is Windows 2000 and i have IIS 5.0. well i bought a book on
php and they had this "first script". well when i tried it it fail. This is what it
siad:
"CGI ERROR:
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The
headers it did return are:
"
and the two pages were:
<!--Listing.html-->
<html>
<head><title></title>
</head>
<body>
<form action="./post1.phtml" Method="POST">
username: <input type="Text" id="UserName"
name="UserName"><br>
Password: <input type="password" id="Password"
Name="Password"><br>
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>
<!--End Listing1.html-->
<!--Post1.html-->
<html>
<head>
<title></title>
</head>
<body>
<?php
print( "The Username is $UserName<br>" );
print( "The Password is $Password<Br>" );
?>
</body>
</html>
<!--End Post1.html-->
Could some one please help me on this matter. I wish to learn php but if i cant get it to work,
then i will loose interest and i dont want to do that. Thank you
bmxracer721@cfl.rr.com
--
http://www.php.net/manual/en/faq.php
http://master.php.net/manage/user-notes.php?action=edit+30944
http://master.php.net/manage/user-notes.php?action=delete+30944
http://master.php.net/manage/user-notes.php?action=reject+30944