Menu

phpFormGenerator v3.0 demo site

Help
2007-06-14
2013-06-03
<< < 1 .. 10 11 12 13 14 .. 18 > >> (Page 12 of 18)
  • Dario

    Dario - 2009-02-27

    I didn't realise that the fantastic version was so outdated. Is there a way of downloading the v.3 code or checking it out from a public code repository?

    I saw the announcement of the release of v.3 was posted one year and a half ago. However, it looks like the code has never been released, only the demo, is that correct?

    If this is the case, I am afraid phpFormGenerator is useless for me. Apart from the bug reported earlier that prevents me from downloading the form code, I am reluctant to generate a full version of my forms on the demo site for the obvious privacy reasons that another user was reporting on another thread.

     
    • TNTEverett

      TNTEverett - 2009-02-27

      You are FREE to get your form code from anywhere you like, but your form code will not always be FREE as it is in this case. 
      Yes it is true that the form code is still in demo mode evan after a year.  This is open source code and people work on it in their own time when they are not doing their real jobs. 
      Good Luck and feel free to come back any time. 

       
      • Dario

        Dario - 2009-02-27

        Sorry, I hope you didn't get me wrong. I am also an open source developer working on a project in my spare time without seeing any financial benefit so I do appreciate that you keep working on this.

        Since I could not use the demo (because of the download issues mentioned above) I thought at least the source code would be available for testing purposes. I understand this is an open source project, but it seems to me that at the moment it is running as a non-open Web service. Hence my question: is the code of v.3 (even an unstable version for testing purposes) accessible in a CVS/SVN repository? If help is needed fixing bugs or addressing stability issues, I think opening up the code would be beneficial to the project.

        My 2 cents.

         
        • TNTEverett

          TNTEverett - 2009-02-27

          I am a regular user of this SW and provide support as my way of paying back the developer.  If you wish to speak with the developer about access to the source code, feel free to do so. 
          I have never had any download issues so I'm afraid I can not help without additional information from you. 

           
          • Dario

            Dario - 2009-02-27

            OK I will do (and my apologies, I thought you were maintaining the code)

             
  • Panos Vls

    Panos Vls - 2009-03-08

    Hi
    any idea why it is not supports Greek?
    In the form fields when you setup the form I am able to use Greek but when I try the form to write and send what I receive is unreadable

     
    • TNTEverett

      TNTEverett - 2009-03-08

      For other languages and character sets you need to set some things in the HTML.  Since the generator does not allow you to select a specific language, everything defaults to a generic "charset" that accomodates a wide set of languages without being very specific. 

      Look for this line:
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

      What you need to do is change the "charset" value. 
      http://www.w3.org/TR/REC-html40/charset.html
      Follow the above link for a definition of this characteristic.

      You can look here for suggestions on the setting for specific languages:
      http://a4esl.org/c/charset.html

      You will need to set this anywhere you intend to display HTML in a web browser. 

       
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-15

    Hello i wonder if you can help me.
    i have tryed to install a few times now phpFormGenerator version 3 and all goes well i use mysql database with email and for some reason on about 4 of the fields i get the following error
    in lets say a text box area of check box i receive the information via email but all i get in the database is "array"
    this happens in all my installs and seems random and only affects about 4 or 5 fields out of 21 fields.
    what am i doing wrong?
    the script is a great script thank you but this is annoying is there anything i can do to prevent this?
    also does anyone know of a way i can place an increasing reference number both in the form and database and email as this would be very usfeull
    i managed to place a successfull counter but of course thgis does not show in the email and the database and also will not e specific to that actual submission
    as in when the first form is filled in i want the user to keep note of there number and it would be a point of reference for us kinda like a ticket number like a support ticket in a way?
    many Thanks
    Wes

     
    • TNTEverett

      TNTEverett - 2009-03-15

      This is a legacy generator issue that was never dealt with for emails because you could always go to the admin and display every field properly. 
      The array issue is not difficult to deal with but depending on the array and how you want it displayed the solution is going to be different. 
      There are many solutions but a simple one would be to replace your array variable in the message portion of the processor.php file, $field1, with print_r($field1).

      If you want something a little more customized the you can search for "php array" and take a look at some examples.  If you really need some help send me a copy of your processor.php file, a link to your form along with a description of what you are looking for and I can help you out. 

      You can also copy the admin folder from an old 2.09 version form to the new form and with some minor tweeks it can work with the new version 3.0 forms. 

       
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    sorry mate i know what i had to say but said it wrong
    thank you for your reply and thanks
    it prints to email correctly everytime but it does not seem to post correctly to the database
    its ithin the database that it shows array the three sections that are showing array are field 9 field 10 and field 13 1 is a radio button and the other two are tick boxes and then they seem i think to show up well int he email but stored in the database they jusat show as array is there anything i can do for this?
    Many Thanks
    Wes

    below is the top section of my processer.php form

    <?php

    $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

    session_start();
    if( ($_SESSION['security_code']==$_POST['security_code']) && (!empty($_POST['security_code'])) ) {
    // Checkbox handling
    $field_9_opts = $_POST['field_9'][0].",". $_POST['field_9'][1].",". $_POST['field_9'][2].",". $_POST['field_9'][3].",". $_POST['field_9'][4].",". $_POST['field_9'][5].",". $_POST['field_9'][6];

    // Checkbox handling
    $field_10_opts = $_POST['field_10'][0].",". $_POST['field_10'][1].",". $_POST['field_10'][2].",". $_POST['field_10'][3].",". $_POST['field_10'][4].",". $_POST['field_10'][5].",". $_POST['field_10'][6].",". $_POST['field_10'][7];

    // Checkbox handling
    $field_13_opts = $_POST['field_13'][0].",". $_POST['field_13'][1].",". $_POST['field_13'][2].",". $_POST['field_13'][3].",". $_POST['field_13'][4].",". $_POST['field_13'][5].",". $_POST['field_13'][6].",". $_POST['field_13'][7];

    include("config.inc.php");
    $link = mysql_connect($db_host,$db_user,$db_pass);
    if(!$link) die ('Could not connect to database: '.mysql_error());
    mysql_select_db($db_name,$link);
    $query = "INSERT into `".$db_table."` (field_1,field_2,field_3,field_4,field_5,field_6,field_7,field_8,field_9,field_10,field_11,field_12,field_13,field_14,field_15,field_16,field_17) VALUES ('" . $_POST['field_1'] . "','" . $_POST['field_2'] . "','" . $_POST['field_3'] . "','" . $_POST['field_4'] . "','" . $_POST['field_5'] . "','" . $_POST['field_6'] . "','" . $_POST['field_7'] . "','" . $_POST['field_8'] . "','" . $_POST['field_9'] . "','" . $_POST['field_10'] . "','" . $_POST['field_11'] . "','" . $_POST['field_12'] . "','" . $_POST['field_13'] . "','" . $_POST['field_14'] . "','" . $_POST['field_15'] . "','" . $_POST['field_16'] . "','" . $_POST['field_17'] . "')";
    mysql_query($query);
    mysql_close($link);

    mail("stevekite@hotmail.co.uk","Pro-Guards Security - Form submission","Form data:

    Full Name: " . $_POST['field_1'] . "
    Date Of Birth: " . $_POST['field_2'] . "
    Present Address: " . $_POST['field_3'] . "
    Home Phone Number: " . $_POST['field_4'] . "
    Mobile Number: " . $_POST['field_5'] . "
    Email Address: " . $_POST['field_6'] . "
    Work Experience: " . $_POST['field_7'] . "
    Right To Work In The UK: " . $_POST['field_8'] . "
    Availability To Work: " . $_POST['field_9_opts'] . "
    Job Preferences: " . $_POST['field_10_opts'] . "
    Hobbies And Interests: " . $_POST['field_11'] . "
    S.I.A Licence Number : " . $_POST['field_12'] . "
    S.I.A Licence Type: " . $_POST['field_13_opts'] . "
    S.I.A Licence Expiry Date: " . $_POST['field_14'] . "
    Your National Insurance Number: " . $_POST['field_15'] . "
    Previous Convictions This May not Affect your Chances of a Vacancy: " . $_POST['field_16'] . "
    Next Of Kin Emergency Details: " . $_POST['field_17'] . "

     
    • TNTEverett

      TNTEverett - 2009-03-31

      In your db query you need to store $field_9_opts instead of $_POST['field_9']. 
      The same applies for any other array. 

       
  • Newguy

    Newguy - 2009-03-31

    I am sooo new to this sorry for frustration....I set up my database for the form on my server and am working out the errors, but all of my errors are now being posted like this:
    戼⁲㸯㰊㹢慗湲湩㱧戯㨾†祭煳彬潣湮捥⡴
㱛⁡牨晥✽畦据楴湯洮獹汱挭湯敮瑣㸧畦据楴湯洮獹汱挭湯敮瑣⼼㹡㩝唠歮潮湷䴠卹䱑猠牥敶⁲潨瑳✠敷㉢畳数杲敲湥潨瑳湩捧浯‧ㄨ
湩㰠㹢栯浯⽥扩汥敩ㅶ瀯扵楬彣瑨汭启獥⽴潦浲ㄹ㘸⼳牰捯獥潳⹲桰㱰戯‾湯氠湩⁥戼㠾⼼㹢戼⁲㸯䌊畯摬渠瑯挠湯敮瑣琠慤慴慢敳›湕湫睯 祍兓⁌敳癲牥栠獯⁴眧扥猲灵牥牧敥桮獯楴杮潣❭⠠⤱

    What am I doing wrong? obviously the language is set up wrong somewhere but I can't figure it out.

     
    • TNTEverett

      TNTEverett - 2009-03-31

      Make sure your form file line 1 starts with something like this:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

      Make sure the form tag looks something like this:

      <form action="process.php" method="post" enctype="multipart/form-data">

      You might also be over-riding the SQL datatype so you will need to review how you are storing the data in your table. 

       
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    sorry i have tryed to add the bcc and from address and now i have screwed my form right up can someone please tell me where i have gone wrong because i have a problem with the  form it says unexpected t string on line 30
    here is the edited sections of the form
    // recipient 
    $to = 'Steve <stevekite@hotmail.co.uk>'; 
    // subject 
    $subject = 'Pro-Guaurds Security Services Application Form
    <info@proguardssecurity.com>' . "\r\n"; 
    $headers .= 'Bcc: info@proguardssecurity.com'."\r\n";"
    $message = "Full Name: " . $_POST['field_1'] . "
    Date Of Birth: " . $_POST['field_2'] . "
    Present Address: " . $_POST['field_3'] . "
    Home Phone Number: " . $_POST['field_4'] . "
    Mobile Number: " . $_POST['field_5'] . "
    Email Address: " . $_POST['field_6'] . "
    Work Experience: " . $_POST['field_7'] . "
    Right To Work In The UK: " . $_POST['field_8'] . "
    Availability To Work: " . $_POST['field_9_opts'] . "
    Job Preferences: " . $_POST['field_10_opts'] . "
    Hobbies And Interests: " . $_POST['field_11'] . "
    S.I.A Licence Number : " . $_POST['field_12'] . "
    S.I.A Licence Type: " . $_POST['field_13_opts'] . "
    S.I.A Licence Expiry Date: " . $_POST['field_14'] . "
    Your National Insurance Number: " . $_POST['field_15'] . "
    Previous Convictions This May not Affect your Chances of a Vacancy: " . $_POST['field_16'] . "
    Next Of Kin Emergency Details: " . $_POST['field_17'] . "

     
    • Dave H

      Dave H - 2009-03-31

      It sounds like a syntax error. Could be missing a semi colon or unmatched quotes or something. Although it says line 30, the error could actually be in a line or 2 above or below line 30. Can you post the section of code a few lines above and below line 30 including line 30. I think that would help.
      Dave

       
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    Here is my full proccesser.php form
    Lie 30 appears at

    $message = "Full Name: " . $_POST

    <?php

    $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

    session_start();
    if( ($_SESSION['security_code']==$_POST['security_code']) && (!empty($_POST['security_code'])) ) {
    // Checkbox handling
    $field_9_opts = $_POST['field_9'][0].",". $_POST['field_9'][1].",". $_POST['field_9'][2].",". $_POST['field_9'][3].",". $_POST['field_9'][4].",". $_POST['field_9'][5].",". $_POST['field_9'][6];

    // Checkbox handling
    $field_10_opts = $_POST['field_10'][0].",". $_POST['field_10'][1].",". $_POST['field_10'][2].",". $_POST['field_10'][3].",". $_POST['field_10'][4].",". $_POST['field_10'][5].",". $_POST['field_10'][6].",". $_POST['field_10'][7];

    // Checkbox handling
    $field_13_opts = $_POST['field_13'][0].",". $_POST['field_13'][1].",". $_POST['field_13'][2].",". $_POST['field_13'][3].",". $_POST['field_13'][4].",". $_POST['field_13'][5].",". $_POST['field_13'][6].",". $_POST['field_13'][7];

    include("config.inc.php");
    $link = mysql_connect($db_host,$db_user,$db_pass);
    if(!$link) die ('Could not connect to database: '.mysql_error());
    mysql_select_db($db_name,$link);
    $query = "INSERT into `".$db_table."` (field_1,field_2,field_3,field_4,field_5,field_6,field_7,field_8,field_9,field_10,field_11,field_12,field_13,field_14,field_15,field_16,field_17) VALUES ('" . $_POST['field_1'] . "','" . $_POST['field_2'] . "','" . $_POST['field_3'] . "','" . $_POST['field_4'] . "','" . $_POST['field_5'] . "','" . $_POST['field_6'] . "','" . $_POST['field_7'] . "','" . $_POST['field_8'] . "','" . $_POST['field_9'] . "','" . $_POST['field_10'] . "','" . $_POST['field_11'] . "','" . $_POST['field_12'] . "','" . $_POST['field_13'] . "','" . $_POST['field_14'] . "','" . $_POST['field_15'] . "','" . $_POST['field_16'] . "','" . $_POST['field_17'] . "')";
    mysql_query($query);
    mysql_close($link);

    // recipient 
    $to = 'Steve <stevekite@hotmail.co.uk>'; 
    // subject 
    $subject = 'Pro-Guaurds Security Services Application Form
    <info@proguardssecurity.com>' . "\r\n"; 
    $headers .= 'Bcc: info@proguardssecurity.com'."\r\n";"
    $message = "Full Name: " . $_POST['field_1'] . " 
    Date Of Birth: " . $_POST['field_2'] . " 
    Present Address: " . $_POST['field_3'] . " 
    Home Phone Number: " . $_POST['field_4'] . " 
    Mobile Number: " . $_POST['field_5'] . " 
    Email Address: " . $_POST['field_6'] . " 
    Work Experience: " . $_POST['field_7'] . " 
    Right To Work In The UK: " . $_POST['field_8'] . " 
    Availability To Work: " . $_POST['field_9_opts'] . " 
    Job Preferences: " . $_POST['field_10_opts'] . " 
    Hobbies And Interests: " . $_POST['field_11'] . " 
    S.I.A Licence Number : " . $_POST['field_12'] . " 
    S.I.A Licence Type: " . $_POST['field_13_opts'] . " 
    S.I.A Licence Expiry Date: " . $_POST['field_14'] . " 
    Your National Insurance Number: " . $_POST['field_15'] . " 
    Previous Convictions This May not Affect your Chances of a Vacancy: " . $_POST['field_16'] . " 
    Next Of Kin Emergency Details: " . $_POST['field_17'] . "

    powered by php form generator.
    ");

    include("confirm.html");
    }
    else {
    echo "Invalid Captcha String.";
    }

    ?>

     
    • TNTEverett

      TNTEverett - 2009-03-31

      Your problem is on this line.

      = 'Bcc: info@proguardssecurity.com'."\r\n";"

      Remove the trailing quote.

       
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    sorry and thank you
    the form has to be submitted to a mysql databse and then sent to two different email addresses
    i am not too worried about the from or subject of the email as it is going to internal departments so to speak

     
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    Hello and Thank you i removed the traling quate successfully and now i am left with this error

    Parse error: syntax error, unexpected ')' in /home/sites/proguardssecurity.com/public_html/contact/processor.php on line 50

    this error is the bottom of the script and is here

    powered by phpFormGenerator.
    ");<"line 50">

    include("confirm.html");
    }
    else {
    echo "Invalid Captcha String.";
    }

    ?>

    <"line 50"> is purly used  as a marker and is not part of the script

     
    • TNTEverett

      TNTEverett - 2009-03-31

      OK, it's a little hard to follow your file in the email.  It looks like the sugegstion I made was only related to a comment so no change was required to that line. 

      Send me a link or a copy of your form. 

       
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    so i need to remove

    $_POST in field 9 10 and 13
    correct
    sorry i only done that because i miss understood and thought it would stop the array being aded to the database instead of the actual options
    my appoligies

     
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    hello mate i have removed $_POST
    on fild 9 10 and 13 and now i get the error

    Parse error: syntax error, unexpected '[' in /home/sites/proguardssecurity.com/public_html/contact/processor.php on line 38

    which is
    Availability To Work: " . ['field_9_opts'] . "
    i think i have removed it in error i think the same will happen for fied 10 AND 13 AS WELL

     
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    yer sure the form is located at www.proguardssecurity.com/contact/form.html
    and thank you in advance

    my processer.php form now looks like this

    <?php

    $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

    session_start();
    if( ($_SESSION['security_code']==$_POST['security_code']) && (!empty($_POST['security_code'])) ) {
    // Checkbox handling
    $field_9_opts = $_POST['field_9'][0].",". $_POST['field_9'][1].",". $_POST['field_9'][2].",". $_POST['field_9'][3].",". $_POST['field_9'][4].",". $_POST['field_9'][5].",". $_POST['field_9'][6];

    // Checkbox handling
    $field_10_opts = $_POST['field_10'][0].",". $_POST['field_10'][1].",". $_POST['field_10'][2].",". $_POST['field_10'][3].",". $_POST['field_10'][4].",". $_POST['field_10'][5].",". $_POST['field_10'][6].",". $_POST['field_10'][7];

    // Checkbox handling
    $field_13_opts = $_POST['field_13'][0].",". $_POST['field_13'][1].",". $_POST['field_13'][2].",". $_POST['field_13'][3].",". $_POST['field_13'][4].",". $_POST['field_13'][5].",". $_POST['field_13'][6].",". $_POST['field_13'][7];

    include("config.inc.php");
    $link = mysql_connect($db_host,$db_user,$db_pass);
    if(!$link) die ('Could not connect to database: '.mysql_error());
    mysql_select_db($db_name,$link);
    $query = "INSERT into `".$db_table."` (field_1,field_2,field_3,field_4,field_5,field_6,field_7,field_8,field_9,field_10,field_11,field_12,field_13,field_14,field_15,field_16,field_17) VALUES ('" . $_POST['field_1'] . "','" . $_POST['field_2'] . "','" . $_POST['field_3'] . "','" . $_POST['field_4'] . "','" . $_POST['field_5'] . "','" . $_POST['field_6'] . "','" . $_POST['field_7'] . "','" . $_POST['field_8'] . "','" . $_POST['field_9'] . "','" . $_POST['field_10'] . "','" . $_POST['field_11'] . "','" . $_POST['field_12'] . "','" . $_POST['field_13'] . "','" . $_POST['field_14'] . "','" . $_POST['field_15'] . "','" . $_POST['field_16'] . "','" . $_POST['field_17'] . "')";
    mysql_query($query);
    mysql_close($link);

    // recipient 
    $to = 'Steve <stevekite@hotmail.co.uk>'; 
    // subject 
    $subject = 'Pro-Guaurds Security Services Application Form
    <info@proguardssecurity.com>' . "\r\n"; 
    $headers .= 'Bcc: info@proguardssecurity.com'."\r\n";
    $message = "Full Name: " . $_POST['field_1'] . " 
    Date Of Birth: " . $_POST['field_2'] . " 
    Present Address: " . $_POST['field_3'] . " 
    Home Phone Number: " . $_POST['field_4'] . " 
    Mobile Number: " . $_POST['field_5'] . " 
    Email Address: " . $_POST['field_6'] . " 
    Work Experience: " . $_POST['field_7'] . " 
    Right To Work In The UK: " . $_POST['field_8'] . " 
    Availability To Work: " . $field_9_opts . " 
    Job Preferences: " . $field_10_opts . " 
    Hobbies And Interests: " . $_POST['field_11'] . " 
    S.I.A Licence Number : " . $_POST['field_12'] . " 
    S.I.A Licence Type: " . $field_13_opts . " 
    S.I.A Licence Expiry Date: " . $_POST['field_14'] . " 
    Your National Insurance Number: " . $_POST['field_15'] . " 
    Previous Convictions This May not Affect your Chances of a Vacancy: " . $_POST['field_16'] . " 
    Next Of Kin Emergency Details: " . $_POST['field_17'] . "

    powered by phpFormGenerator.
    );

    include("confirm.html");
    }
    else {
    echo "Invalid Captcha String.";
    }

    ?>

    now i am receiving a error on line 52
    which is

    include("confirm.html");

     
    • TNTEverett

      TNTEverett - 2009-03-31

      Make this change:

      powered by phpFormGenerator.
      ";

       
  • WESLEY WILLIAMS

    WESLEY WILLIAMS - 2009-03-31

    if you let me know your email address i can send  you my ftp access if you like mate

     
<< < 1 .. 10 11 12 13 14 .. 18 > >> (Page 12 of 18)

Log in to post a comment.