Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
I entered this code in a program called test.php:Code: Select all
<? if (isset($Submit)) {
echo "The Submit button was pressed" ;
} else { ?>
<form action="<? echo $PHP_SELF ?>" method="POST">
<input type="submit" name="Submit" value="Submit" >
</form>
<? } ?>However, I have a new Apache/PHP/mySQL installation on my personal computer. When I run the very same program there, nothing happens, no matter how many times the button is clicked.
Obviously, the installation on my Personal computer refuses to function with HTTP Post. I have tried another test program which uses GET and it works ok.
Why ?? Any ideas??
bob
Weirdan | Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]