Hi
One of the most basic tasks - and I can't get it running on my new preconfigured server: I can't read the post-vars passed from a form.
$_POST[fieldname] is never set.
When I change the script/form to use the GET-method, it works without any problems.
I suspect the problem depends on a configuration issue, but I can't figure out which or where (running PHP 4.3.2 as a CGI under Apache 1.3.19 and Suse 7.2).
Here the code (just to show that this is not the problem):
<?
echo $_POST["testval"];
?>
<form action="checkpost.php" method="post" name="form1">
<input type="text" name="testval" value="test" />
<button type="submit"></button>
</form>
Any ideas??
Uli