Form assistance Neeeded!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • gwalchmai2000
    Private First Class

    • Jul 2007
    • 5

    Form assistance Neeeded!

    My page is http://www.ecstarwars.com and below is the coding for the action.php page. I followed tutorials and everything is setup correctly to the extent of my knowledge, however when I submit, the page comes up as "The requested URL /action.php was not found on this server" error. The file extension on the "thank you" action page is set to .php and the encoding type is set to multipart/form-data on the form page. Please help!
    -Thanks
    Remington Wood

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Thank You</title>
    <?PHP
    $mailto = "gwalchmai2000******.com";
    $email = $HTTP_POST_VARS['email'];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "Join Submission Form";
    $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);
    ?>
    <meta name="GENERATOR" content="Created by BlueVoda">
    <script type="text/javascript">
    <!--
    function SwapImage()
    {
    var doc=document, args=arguments;
    doc.$imgSwaps = new Array();
    for(var i=2; i<args.length; i+=2)
    {
    var elem=FindObject(args[i]);
    if(elem)
    {
    doc.$imgSwaps[doc.$imgSwaps.length]=elem;
    elem.$src=elem.src;
    elem.src=args[i+1];
    }
    }
    }
    // -->
    </script>
    <script type="text/javascript">
    <!--
    function FindObject(id, doc)
    {
    var child, elem;
    if(!doc)
    doc=document;
    if(doc.getElementById)
    elem=doc.getElementById(id);
    else
    if(doc.layers)
    child=doc.layers;
    else
    if(doc.all)
    elem=doc.all[id];
    if(elem)
    return elem;
    if(doc.id==id || doc.name==id)
    return doc;
    if(doc.childNodes)
    child=doc.childNodes;
    if(child)
    {
    for(var i=0; i<child.length; i++)
    {
    elem=FindObject(id,child[i]);
    if(elem)
    return elem;
    }
    }
    var frm=doc.forms;
    if(frm)
    {
    for(var i=0; i<frm.length; i++)
    {
    var elems=frm[i].elements;
    for(var j=0; j<elems.length; j++)
    {
    elem=FindObject(id,elems[i]);
    if(elem) return elem;
    }
    }
    }
    return null;
    }
    // -->
    </script>
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <div id="bv_" style="position:absolute;left:58px;top:58px;width: 150px;height:16px;z-index:0" align="left">
    <font style="font-size:13px" color="#000000" face="Arial">THANKS FOR INFO!!</font></div>
    <div id="bv_" style="position:absolute;left:25px;top:237px;width :117px;height:31px;z-index:1" align="center">
    <table border="0" cellpadding="0" cellspacing="0" id="NavigationBar1">
    <tr>
    <td align="left" valign="top" width="117" height="31"><a href="http://www.ecstarwars.com"><img id="bv01023" src="bv01023.gif" alt="http://www.ecstarwars.com" align="top" border="0" width="117" height="31" onmouseover="SwapImage(1,0,'bv01023','bv01023_over .gif')" onmouseout="SwapImage(0,0,'bv01023','bv01023.gif') "></a></td>
    </tr>
    </table>
    </div>
    </body>
    </html>
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Re: Form assistance Neeeded!

    I don't see a form on your site, and many of your links are going to www.ec.com. Looking at how your site is setup, many of your pages are in different folders, your action.php might not be in the right folder

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • gwalchmai2000
      Private First Class

      • Jul 2007
      • 5

      #3
      Re: Form assistance Neeeded!

      Just strated the site so its kinda out of order temporarily. But to reach the form you go to "Clan Info" from the Menu Bar, Then "Join Here" on that page. This is only page with the "Join Here" menu option.

      Comment

      • gwalchmai2000
        Private First Class

        • Jul 2007
        • 5

        #4
        Re: Form assistance Neeeded!

        All sites are published in the public_html folder

        Comment

        • Watdaflip
          Major General

          • Sep 2005
          • 2116

          #5
          Re: Form assistance Neeeded!

          Have you uploaded action.php to your website?

          Register/Login Script
          Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

          Comment

          • gwalchmai2000
            Private First Class

            • Jul 2007
            • 5

            #6
            Re: Form assistance Neeeded!

            Yes

            Comment

            • gwalchmai2000
              Private First Class

              • Jul 2007
              • 5

              #7
              Re: Form assistance Neeeded!

              im an idiot. I named my page thankyou not action, so i changed it to thankyou.php and it works. Sorry for trouble and thanks for reminder

              Comment

              Working...
              X