+ Reply to Thread
Results 1 to 9 of 9

Thread: stoneyridge.net
      
   

  1. #1
    djlorette is offline Private First Class
    Join Date
    Jun 2007
    Posts
    6

    Default stoneyridge.net

    My website at BlueVoda is: http://www.stoneyridge.net .
    My action page won't work. I get error message everytime I try to use it.
    The error message is:
    The requested URL /action.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Help
    alan

  2. #2
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: stoneyridge.net

    Are you sure you published it? I can't seem to find it. The form looks good. Can you copy and paste the php code that you are using? Also- where did you place the php code?

    Andy
    PHP- is a blast!

  3. #3
    djlorette is offline Private First Class
    Join Date
    Jun 2007
    Posts
    6

    Default Re: stoneyridge.net

    Greetings;
    Here is the php I have:
    <?PHP
    $mailto ="dave@stoneyridge.net";
    $email = $HTTP_POST_VARS["email"];
    if ($email == "") {$email = $mailto;}
    $mailsubj = "Website Message";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {if ($key!="submit")
    {$mailbody .= "$key : $val\n";}
    }mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>
    I placed it "Between Head Tag"
    Thanks
    alan

  4. #4
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: stoneyridge.net

    First- in this part of the code ["email"] use single quotes not double. ['email']

    Then- which page did you put the php code Between the Head tag? And actually- it needs to go in the Begining of Body tag. Reason I ask is that you have the form action set to "action.php" - but I cannot find the action.php page. Did you publish it?

    Andy
    PHP- is a blast!

  5. #5
    djlorette is offline Private First Class
    Join Date
    Jun 2007
    Posts
    6

    Default Re: stoneyridge.net

    Greetings;
    I just republished all pages as I realized I had some extra files. I think all is as I have it on my end. I did the corrections as you suggested. I put the scripting in the beginning of body tag.
    If it isn't appearing for you I have to find out why not.
    Thanks
    aloha
    alan

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

    Default Re: stoneyridge.net

    There is NO "action.php" page in your site. How did you save (and publish) the page where you pasted the script ?
    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!


  7. #7
    djlorette is offline Private First Class
    Join Date
    Jun 2007
    Posts
    6

    Default Re: stoneyridge.net

    Greetings:
    I just went back and published my "THank You" page again. This is the one I created to come up after the form page. It is "Thank You.php". I just went in with FTP and I saw it in the public_html file.

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

    Default Re: stoneyridge.net

    Yes, but the form action is still set to be "action.php". You have two options:

    1. Change your form action to be "Thank You.php" . Save and republish.

    2. OR, open your "Thank You" page in BV, save it as "action" then publish it (as php)

    In both cases refresh your browser before testing the form again.
    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!


  9. #9
    djlorette is offline Private First Class
    Join Date
    Jun 2007
    Posts
    6

    Default Re: stoneyridge.net

    My children thank you, my wife thanks you, my grandchildren thank you and I thank you.
    aloha
    alan

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