Re: PHP not posting
| From: | Pieter du Toit | Date: | Sun, 24 Jun 2007 14:56:05 +0000 |
| Subject: | Re: PHP not posting | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257726@lists.php.net to get a copy of this message | ||
Nothing major here is the code:
<?
if ($_POST['name']) {
echo "name posted";
}
?>
<html>
<head>
<title></title>
</head>
<body>
<form action="1.php" method="post">
Name:<input type="text" name="name">
<input type="submit" value="submit">
</form>
</body>
</html>
"Stut" <stuttle@gmail.com> wrote in message
news:467E81F8.2050700@gmail.com...
> Pieter du Toit wrote:
>> I installed PHP5 on iis and i can see "hello world" and phpinfo.
>>
>> When i right click the webpage and view source, i can see the php code,
>> and the form does not want to post the form details.
>>
>> Will appreciate any help.
>
> My amazing psychic abilities tell me that...
>
> ...you need to show us your code before we can have any chance of helping.
>
> -Stut
>
> --
> http://stut.net/