Results 1 to 3 of 3

Thread: Form stopped working. This seems to happen when I mess with password protect
      
   

  1. #1
    tiaki is offline Sergeant
    Join Date
    Oct 2005
    Posts
    22

    Default Form stopped working. This seems to happen when I mess with password protect

    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 66.191.3.55] Premature end of script headers: /home/tiaki05/public_html/tiakirequestform.php

    My form is located at www.americastsunami.net/tiakirequestform.html

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

    <?PHP
    $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);
    ?>
    </BODY>
    </HTML>


    Thanks in advance,

    Tiaki

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form stopped working. This seems to happen when I mess with password protect

    Connect with BlueFtp and make sure that your php file properties is set to 644. Also, your public_html properties should result in 750.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    tiaki is offline Sergeant
    Join Date
    Oct 2005
    Posts
    22

    Default Re: Form stopped working. This seems to happen when I mess with password protect

    It works fine now thanks again.

    Tiaki

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49