cancel
Showing results for 
Search instead for 
Did you mean: 

PHP $_POST issue

mcgillion
Not applicable
Posts: 2
Registered: ‎03-05-2010

PHP $_POST issue

Hi all
Ive got a really simple html email form that calls a php script using POST method.
<form action="http://ccgi.mcgillion.plus.com/mailform.php" method="post" enctype="text/plain">
<label for="playareaname">Name of the play area</label>
<input type="submit" name="submitbutton" id="submitbutton" value="Submit" />
</form>
The cgi script cannot access the POST params. I dump the array using print_r($_POST) but its empty;
I have read the PHP5 upgrade forums postings but still cannot find the solution (I dont use the $_SERVER['PHP_SELF'] variable. Any ideas?
Thanks
Mark