Menu

Am I Stupid??

Help
Anonymous
2004-01-27
2004-02-04
  • Anonymous

    Anonymous - 2004-01-27

    Installed phpFormGenerator via fantastico(cpanel)
    Set it up.
    But what do I have to do next.
    Do I have to move some files?
    If so which?
    Any help much appreciated/

     
    • Eric Meijer

      Eric Meijer - 2004-01-27

      No, just a don't know.

      You simply have to run the formgenerator by activating the file process.php in your "PHP Form" directory. Make sure to run it by activating PHP-files via (a / your) PHP server. (PHP is interperter and you need an engine to drive the code) If you don't have a server and have to set up one, you can download easyphp.

      http://www.easyphp.org/telechargements.php3

      This is an easy solution and runs under windows.
      (Be aware that it can alter the ODBC!)
      Otherwise you have to find a provider with a PHP server you can use.

      After generating your forms, copy all the files you find under directory forms to the site you want to use your forms.....
      Restyle your HTML file to your own housestyle, without changing fieldnames.

      Hope I could "show you the road".

      Goodluck,
      Eric

       
    • Anonymous

      Anonymous - 2004-01-27

      I am still having problems.
      It then generates this error message when i submit form
      HELP!!
      Warning: fopen(admin/data.dat): failed to open stream: No such file or directory in /home2/blahblah/public_html/engagement/process.php on line 25

      Warning: fwrite(): supplied argument is not a valid stream resource in /home2/blahblah/public_html/engagement/process.php on line 29

      Warning: Cannot modify header information - headers already sent by (output started at /home2/blahblah/public_html/engagement/process.php:25) in /home2/blahblah/public_html/engagement/process.php on line 30

       
      • Eric Meijer

        Eric Meijer - 2004-01-28

        I am not sure if I can help any further but if you want to be helped I think you need to supply more information. Eg.
        When does this happen? During generating a form or when using a form.
        Also what kind of a form you create?

         
    • Anonymous

      Anonymous - 2004-01-28

      I can set up a form(name,address,town) that emails me the results.
      I am struggling on getting it to post to a table or dbase.
      this is where i need insruction please
      thanks for all your help

       
    • Anonymous

      Anonymous - 2004-01-29

      help me

       
    • Musawir Ali

      Musawir Ali - 2004-02-03

      dave... you need to make sure that "all" your files and directories under the "forms" directory are set to have read+write permissions. This includes the directory called "forms" and everything thats inside it (all subdirectories and files). The error you are getting is due to file permissions. In UNIX, you can execute the command: chmod -R 777 forms
      and it will take care of this issue, but you can also go one by one through the files and directories and set their permissions individually too.

       
      • Eric Meijer

        Eric Meijer - 2004-02-04

        Sorry Dave for letting you down, but for several day's I was out the country for work and not able to respond. Think Musawir is right.
        Also be aware of the RW-rights of your DB if you use one.

         
        • Anonymous

          Anonymous - 2004-02-04

          Thanks for your help so far - hopefully I am nearly there!
          Do I have to move some files into a New Directory?
          If so, which files.

          Thanks,
          Dave.

           
          • Eric Meijer

            Eric Meijer - 2004-02-04

            After generating your forms you have to copy the subdirectory named forms and all its contents to the "site" where you need your form.
            The HTML file is your form, the PHP files the "engine". You can restyle your HTML file, but leave the fieldnames as it is.

            Note: If you upload files with your form, uploaded files are received in the subdir "files" in your formsdir.

             
            • Anonymous

              Anonymous - 2004-02-04

              Sorted - thankyou.
              Is there not a risk of people finding the admin table of everyones details?
              cheers,
              dave

               
        • Musawir Ali

          Musawir Ali - 2004-02-04

          hehe.. ofcourse i'm right :P I wrote the damn program.

           
    • Eric Meijer

      Eric Meijer - 2004-02-04

      Sorry Dave I can't tell. Goes beyond my knowledge.
      Maybe Ali knows more about that. He's the brainpower behind this tool.
      Btw. Glad you sorted out.
      Eric.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.