+ Reply to Thread
Results 1 to 3 of 3

Thread: form not saved as php
      
   

  1. #1
    crazeeboar is offline Private First Class
    Join Date
    Aug 2007
    Posts
    7

    Default form not saved as php

    Hi there, for 2 days I've been battling with the basic form as shown by your tutorial. I've done everything right on "contact" page and thank you page..as according to the "tut", saving as .php. The next step in "thank you" page, when it comes to saving as HTML the php code it asks to copy and paste in header...is not there. I've tried everything I could...using the tut reference on my main page as well as individually.

    This is all the code I get in Thank You

    <!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>
    <meta name="GENERATOR" content="Created by BlueVoda">
    <style type="text/css">
    div#container
    {
    width: 800px;
    position: relative;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    }
    body
    {
    text-align: center;
    margin: 0;
    }
    </style>
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <div id="container">
    </div>
    </body>
    </html>

    This is all what I get on my contact page...
    <!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>contact</title>
    <meta name="GENERATOR" content="Created by BlueVoda">
    <style type="text/css">
    div#container
    {
    width: 800px;
    position: relative;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    }
    body
    {
    text-align: center;
    margin: 0;
    }
    </style>
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <div id="container">
    <div id="bv_" style="position:absolute;left:15px;top:15px;width: 380px;height:150px;z-index:5" align="left">
    <form name="contact" method="POST" action="action.php" enctype="multipart/form-data" id="Form1">
    <input type="text" id="Editbox1" style="position:absolute;left:200px;top:25px;width :144px;font-family:Courier;font-size:19px;z-index:0" size="16" name="email" value="">
    <input type="text" id="Editbox2" style="position:absolute;left:200px;top:70px;width :144px;font-family:Courier;font-size:19px;z-index:1" size="16" name="name" value="">
    <div id="bv_Text1" style="position:absolute;left:120px;top:30px;width :50px;height:16px;z-index:2" align="right">
    <font style="font-size:13px" color="#000000" face="Arial">email</font></div>
    <div id="bv_Text2" style="position:absolute;left:115px;top:75px;width :80px;height:16px;z-index:3" align="right">
    <font style="font-size:13px" color="#000000" face="Arial">name</font></div>
    <input type="submit" id="Button1"" name="Button1" value="Submit Now" style="position:absolute;left:230px;top:105px;widt h:75px;height:24px;z-index:4">

    </form>
    </div>
    </div>
    </body>
    </html>

    There is no .php extention..

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

    Default Re: form not saved as php

    O, let's take things from the start:

    1. The form page doesn't need to be php. So you can publish it as a normal page, with the html extension that BV by default assigns when publishing.
    2. The Thank you page instead needs to be published as php. To achieve this you need, in your thank you page, to go to Page Properties, and from there set the page extension, when published, to be .php
    3. In this thank you page, you need to paste the php code that comes with the tutorial. You will find this code UNDER the multimedia tutorial. Just scroll down the whole forum page of the tutorial, and you will find all the necessary steps.
    4. A very common error that new users make, is this: they set the form action to be "action.php" but they save (and publish) thsi action page as "thankyou". The form action MUST be the same as the thank you page name. So if your thank you page is saved as "action" and published as "action.php", the FORM action needs to be "action.php". If instead the thank you page is saved as "thankyou" and therefore published as "thankyou.php", the form action MUST be "thankyou.php".
    The name is NOT important, the important is that, in any case, the form action IS SET TO BE THE SAME AS THE THANK YOU PAGE NAME.

    Asi said, read the text UNDER the multimedia tutorial, it is all explained there step by step.
    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
    crazeeboar is offline Private First Class
    Join Date
    Aug 2007
    Posts
    7

    Default Re: form not saved as php

    Thanx Naval...I read your post over and over, although I knew what U meant, I had no idea where to find what U were talking about. Dumb **** as I am, I kept looking in my html view source for the code, not realising that it was actually on the tuts page, at the bottom.
    Now if I had scrolled down on the tuts page in the beginning, I would have seen it....duh.
    Thanx for your reply, I got it sorted now...:)

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