Menu

phpFormGenerator v3.0 demo site

Help
2007-06-14
2013-06-03
<< < 1 .. 7 8 9 10 11 .. 18 > >> (Page 9 of 18)
  • TNTEverett

    TNTEverett - 2008-01-25

    More than likely this has nothing to do with your php file and everything to do with folder permissions.  The php file is copying the file to a specified folder and the folder is write protected.  Try increasing the level of permissions to the folder. 

     
  • Lance

    Lance - 2008-01-30

    Same problem as lilipip had on 1-25-2008.

    I don't know what folder is write protected. Where is it trying to write to?

     
    • TNTEverett

      TNTEverett - 2008-02-01

      The files folder is located in the same place as your form.html file.  The phpFormGenerator relies on the web host installer to properly assign file and folder permissions.  Sometimes the permissions are not set correctly and need to be adjusted after install otherwise the new forms generated assume the same bad permissions. 

       
  • Anonymous

    Anonymous - 2008-02-25

    I have a question. I have several working forms with version 3 and it works great. Here's my question. I was hoping there is a way that, depending on which option is picked on a particular drop down box, that would select a different email address to mail to.

    To test this, I created a dropdown box with three options, all three different emails. In the processor.php file I edited the line at the top as such:
    mail(" . $_POST['field_1'] . ","Subjet","Form data:

    Which I would have thought it would insert the value selected in field 1 as the email to send to, however that gives an error. Did I modify this incorrectly, or is there not a way to select which email address to send to?
    Thanks in advance for any assistance offered!

     
    • TNTEverett

      TNTEverett - 2008-02-26

      mail($_POST['field_1'],"Subjet","Form data:

       
  • Newboxters

    Newboxters - 2008-02-26

    - With the function to send without giving reload in the page, like this, after clicking in the button to send, appears the traditional icon of carrying and the confirmation message is exhibited simultaneously.

    - It is also the function to check fields (validation), instead of using javascript that is very insecure, because it is enough to disable the jsp that the validation won't work, then, to really do a validation using codes together PHP with ajax, like this, if a field is incorrect (in agreement with the validation through "if's" in the php) in the form appears the error message (loaded in ajax, as soon as the user to press TAB or to click in another field, if the previous field has some mistake).

     
    • TNTEverett

      TNTEverett - 2008-02-26

      Either you flunked English in school or English is not your native language.  I have no idea what you are trying to say here. 
      In general your topic is security so here is what I have to say about this topic. 
      No matter what method of security you use there will always be someone who can hack or bypass it eventually.  You have to ask yourself one question, "why would anyone want to hack my form?".  If you have a good answer then you shoud begin to think about security.  Notice I said "start thinking" not "start doing".  You should only start doing after you have considered what you are protecting and how you think it should be protected.  There are literally thousands of tools and methods to apply security.  Not all of which apply to every situation. 
      It was the design goal of phpFormgenerator to provide basic security without sacrificing performance.  The Java code does some basic checks.  The Captcha provides some level of SPAM/Hack prevention.  All other security measures are left to the user.  The reason for this is that people who have no need for security don't need the extra code and people who need the higher security may not need any or all of the security measures chosen for the generator. 
      If you think you have security issues, feel free to modify your code to accomodate your needs. 
      Try Google'ing "web form security" and see how many hits you get.  I get 60 million!  Get my point?

       
  • Roger Bates

    Roger Bates - 2008-02-28

    I got this form working great using sql.  When i get the email the fields are wrong or garbled for some reason.  In the email i mean.

     
    • TNTEverett

      TNTEverett - 2008-02-28

      It would be very unusual for SQL data to be OK but SQL data sent in the email to be bad.  Are you sure the SQL db is OK? 
      In any case it is hard to give you help without more detail.

       
  • Roger Bates

    Roger Bates - 2008-02-28

    I checked the database, it is fine. what i mean is the fields in the email are all mixed up and sometimes don't show. The email shows the full name in the wrong field and some of the text fields don't show, they say "array" or something like that.. I can post the text if you like.

     
  • Roger Bates

    Roger Bates - 2008-02-28

    Here is what the email looks like.

    Form data:

    Job Applying for: Scheduler
    Email: Test User
    Currently work for a VA: t,e
    List Experience: Array
    Country: http://www.vafinancials.com
    URL for verification: this is a test email Tell us about you and why your a good candidate: Barbados Full Name: i am a test candidate, and hope this works good.

    powered by phpFormGenerator.

    Notice the List experience box, the country field and full name are mixed up. and my only check box sais t,e....

     
    • TNTEverett

      TNTEverett - 2008-02-28

      There is a known issue with the current generator.  If when you are generating your form you decide to move fields up or down within the form the field numbers get mixed up.  There are two ways to fix this.
      1.) Start over and make sure you put things in the right order and don't move anything.
      2.) Go through the form.html file and find all the form field numbers and identify the number with the field name.  Then go through the processor.php file and fix any descrepancy between the field names and numbers. 

      Number 1 is straight forward.  If you have put alot of effort into your form and don't wish to start over then you will have to send me the form zip file and I will straighten it out for you. 

       
  • Roger Bates

    Roger Bates - 2008-02-29

    Ok got the order fixed.  Thanks.  Now, i have a question with a check box, the answers are yes and no, the answer doesn't show up in the email, its blank.

     
    • TNTEverett

      TNTEverett - 2008-02-29

      The check boxes have a name and a value in the form.html file.  The name becomes the processor.php variable name and the value becomes the processor.php variable value which you should see in your email.  What values are in the form?  You can either translate these and send any value you want to see in your email or leave it alone as long as the value has meaning for you. 
      Without seeing your code it is difficult for me to give you any additional advice. 

       
  • Roger Bates

    Roger Bates - 2008-02-29

    Slightly off topic.  How hard would it be for me to install a way to view the job apps on my site? I guess like an echo php file.

     
    • TNTEverett

      TNTEverett - 2008-02-29

      I'm not sure what "job apps" are.
      You could create a php script that echos a file's content as text in a browser window if this is what you are looking for. 

       
  • Roger Bates

    Roger Bates - 2008-02-29

    Sorry, Job Apps is the sheet i created with this generator program.  As stated in my previous post the answers to my check box questions are " yes and no" when I get the email there is nothing in that field. If I get this fixed all is well!!

     
    • TNTEverett

      TNTEverett - 2008-02-29

      I have a form generated using check boxes and the message returns yes/no answers from the form. 
      I can not tell you why yours does not work without seeing the code.

       
  • Next

    Next - 2008-03-09

    Hy,

    Thanks very much for the new improved 3.0.

    I just have a question:

    I created a phpfrom with it and when i tested it using firefox (not sure if this problem also exist with other browsers)i get the error "Please correct the error. Fields marked with an asterisk (*)are requeired" Although no field is marked with asterisk?

    Could this be a bug or l did something wrong? Does anybody know how to correct this?

    Thanks in advance and much appreciated

     
    • TNTEverett

      TNTEverett - 2008-03-10

      At the bottom of your form.html file you will find something like this
      if (validateField('field_1','fieldBox_1','text',1) == false)
                   retVal=false;

      The number 1 near the end of the first line indicates the field is required. 
      Changing this to a 0 should get rid of your problem. 

      if (validateField('field_1','fieldBox_1','text',0) == false)
                   retVal=false;

      There will be one set of lines as shown above for each field variable.  Mark them all with a 0 if this is what you are looking for. 

       
  • Next

    Next - 2008-03-10

    Thanks. Problem solved!

     
  • droo

    droo - 2008-03-15

    Originally posted in Discussion:

    I have uploaded my form. Looks great BUT the info icons are broken. This includes the security graphic, which in turn, makes the form unusable.
    I uploaded all of the unzipped files to my public_html folder. Looks like everything should be working. What can I do? 

    A note: I loaded phpFG 2.09c from my server. When I had problems, they referred me to the 3.0 page to build my form.

    here is the link to my form:
    http://www.lot1433.com/tmp/persistent/form17948/form.html

    thanks in advance for help

     
    • Anonymous

      Anonymous - 2008-03-15

      oh, ur website is messy i mean ur form i can't see no icon why is that?
      u sure u uploaded all files and folder properly?

       
    • TNTEverett

      TNTEverett - 2008-03-15

      Hint:
      Go to your form and right click on the missing pictures then choose properties.  Note the file name and the path.  Does this file exist at the path indicated in the properties definition?

       
  • droo

    droo - 2008-03-15

    All of the image files seem to be where they are supposed to be. (they match the path in properties) I read your other post and looked at the captcha file. Were you saying in that post that it might be a server issue?

     
<< < 1 .. 7 8 9 10 11 .. 18 > >> (Page 9 of 18)

Log in to post a comment.