php error

Status
Not open for further replies.

richscom

New Member
Messages
5
Reaction score
0
Points
0
Hey, i'm relatively new to php, and i'm having a problem. i have a php form liked to my contact page, and it says "Warning: mail() has been disabled for security reasons in /home/richscom/public_html/contact.php on line 18"...
any help on this would be greatly appreciated. thanks ahead of time.

Edit:
This is my php form by the way

<?php
$to = "myemailaddress@something.com";
$subject = $_POST["title"];
$name = $_POST["name"];
$message = $_POST["message"];
$messagesent = "From: $name Message: $message";
$from = $_POST["email"];
$headers = "From: $from";
mail($to,$subject,$messagesent,$headers);
?>
 
Last edited:

Starshine

Legend Killer
Messages
14,423
Reaction score
0
Points
0
Try upgrading your PHP to Intermediate in your AMP ( Account Management Panel : http://www.x10hosting.com/account - login with your forum name / password )

Once accepted, upgrades can take 6 to 24 hrs before it configures to your account.
 
Status
Not open for further replies.
Top