View Full Version : Form stopped working. This seems to happen when I mess with password protect

05-07-2006, 07:43 AM
Hello Again,

I don't know why but my form stopped working. I am getting these error message in the control panel log.

[2006-05-07 01:34:44]: error: directory is writable by others: (/home/tiaki05/public_html)

[Sun May 7 01:34:44 2006] [error] [client] Premature end of script headers: /home/tiaki05/public_html/tiakirequestform.php

My form is located at www.americastsunami.net/tiakirequestform.html (http://www.americastsunami.net/tiakirequestform.html)

The php was working but here it is anyway. if it helps.
<TITLE>Your message is being processed</TITLE>
<H2>Thank-you for contacting America's Tsunami, Your message is being processed.</H2>

$email = $HTTP_POST_VARS[email];
$mailto = "tiakirequestform@americastsunami.net";
$mailsubj = "ebookrequest";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
$mailbody .= "$key : $val\n";
mail($mailto, $mailsubj, $mailbody, $mailhead);

Thanks in advance,


05-07-2006, 09:02 AM
Connect with BlueFtp and make sure that your php file properties is set to 644. Also, your public_html properties should result in 750.

05-08-2006, 04:58 PM
It works fine now thanks again.