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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
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
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.