Menu

where to place new form

Help
rebelbwb
2007-01-04
2013-06-03
  • rebelbwb

    rebelbwb - 2007-01-04

    I've created a form and basically would like for it to become my index.html page - this will be a mini site more or less. Where do I need to place my form and are there any other files that I need to place in that same directory with it? I set it up to where when submitted it would return to the index.html page - good or bad that is how I have that set up...for now at least. Speaking of that where would I change where this form gets sent to say if I wanted to create a thank you page of sorts

    Thanks

    Ben

     
    • Musawir Ali

      Musawir Ali - 2007-01-04

      you form should be generated in a directory in the "use" directory named whatever you called your form. You need to copy everything inside that directory to where ever you want to house it. You can then rename the form1.html to index.html. You can also edit this file and make it look the way you want it, its just a simple html file. Make sure you have set proper file permissions before you go public with it.

       
      • rebelbwb

        rebelbwb - 2007-01-05

        I took your advice and copied and pasted all files within use/qla directory. Within use dir was sampleform and sgdf. Below is the error message I received after I attempted to submit that form

        Warning: main(global.inc.php): failed to open stream: No such file or directory in /home/content/d/o/u/dougmoga/html/process.php on line 2

        Warning: main(global.inc.php): failed to open stream: No such file or directory in /home/content/d/o/u/dougmoga/html/process.php on line 2

        Warning: main(): Failed opening 'global.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/d/o/u/dougmoga/html/process.php on line 2

        Fatal error: Call to undefined function: pt_register() in /home/content/d/o/u/dougmoga/html/process.php on line 5
          

        my form is at quicklistingalerts.com

        Any further is greatly appreciated.

        Thanks

        Ben

         
    • Musawir Ali

      Musawir Ali - 2007-01-05

      that means you forgot to copy the global.inc.php file. This file should be placed in the same directory as process.php. As I mentioned before, you need to move "everything" under your form directory.

       

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.