note 30944 rejected from faq by alindeman
| From: | alindeman@php.net | Date: | Fri, 04 Apr 2003 01:48:27 +0000 |
| Subject: | note 30944 rejected from faq by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-46199@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