+ Reply to Thread
Results 1 to 7 of 7

Thread: Form assistance Neeeded!
      
   

  1. #1
    gwalchmai2000 is offline Private First Class
    Join Date
    Jul 2007
    Location
    San Diego, CA
    Posts
    5

    Question 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>

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default 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

  3. #3
    gwalchmai2000 is offline Private First Class
    Join Date
    Jul 2007
    Location
    San Diego, CA
    Posts
    5

    Default 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.

  4. #4
    gwalchmai2000 is offline Private First Class
    Join Date
    Jul 2007
    Location
    San Diego, CA
    Posts
    5

    Default Re: Form assistance Neeeded!

    All sites are published in the public_html folder

  5. #5
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default 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

  6. #6
    gwalchmai2000 is offline Private First Class
    Join Date
    Jul 2007
    Location
    San Diego, CA
    Posts
    5

    Default Re: Form assistance Neeeded!

    Yes

  7. #7
    gwalchmai2000 is offline Private First Class
    Join Date
    Jul 2007
    Location
    San Diego, CA
    Posts
    5

    Default 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

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