Hi,
If i get:
when i try to run a simple php script does it mean POST has been disabled by my host (tsohost)?
Just made a very very basic script for my site that posts the info from a form onto a page, using the following:
Thanks
If i get:
Method Not Allowed
The requested method POST is not allowed for the URL /site/join.html.
when i try to run a simple php script does it mean POST has been disabled by my host (tsohost)?
Just made a very very basic script for my site that posts the info from a form onto a page, using the following:
PHP:
<? php
define("BR", "<br />");
$name = $_POST["txtname"];
$password = $_POST["txtpassword"];
$email = $_POST["txtemail"];
$location = $_POST["optlocation"];
$age = $_POST["txtage"];
$gametypes = $_POST["optgametypes"];
$currentclan = $_POST["txtcurrentclan"];
$previousclans = $_POST["txtpreviousclans"];
$additionalinfo = $_POST["txtadditionalinfo"];
echo "Name: $name" . BR . "Password: $password" . BR . "Mail: $email" . BR . "Location: $location" . BR . "Age: $age" . BR . "Gametypes: $gametypes" . BR . "Current Clan: $currentclan" . BR . "Previous Clan: $previousclans" . BR . "Other Info: $additionalinfo";
?>
Thanks
Last edited: