Just wondering what the following files are for, and if they are necessary...
Each form created, generates a form1.html file and a form2.html file. Is there any purpose to this form2.html file? It is exactly the same with every form generated, but I'm not sure what its purpose is!
There is also a sub directory created with each form that is generated called /files which contains a file called 02_42_28_haar.html . This file contains information about "An Introduction to Wavelets and the Haar Transform". What's this file for?
My other question involves which files are changed from form to form, and which ones stay the same. Obviously the form1.html file is going to be different for each form generated, and it appears that the process.php file is also different. Are there any other files that would be different from form to form?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The files are left over from development days.
In your form folder:
form2.html
files/02_42_28_haar.html
These files can be deleted or ignored.
In your installation:
The forms folder is where the generator stores a copy of the form being generated. It is used as a temporary file storage area.
If you remove the files listed above (same as files in your form folder) from the forms folder these will no longer be copied to new forms you generate.
From form to form the most important files are the form1.html, and the process.php file. These are critical and contain all the information necessary to support your new form. Another file in the admin folder is the data.dat file if you used file based database. All other files are the same.
My guess as to what is causing your issues is that the file and folder permissions are not consistent. If the form1.html file in the forms folder works, try duplicating the file and folder permissions to your new form in the use/formname area.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have moved my created form to a new directory called MyForm. Within that particular directory is the form1.html (which I rename to index.html), process.php and the global.inc.php, which of course are critical files.
Since I am using a real MySQL Database (not a files based database), can I either password protect the MyForm/admin directory or even delete it completely? Is there anything in this admin directory that affects the use/submission of my form from an end user perspective, or that is critical to it working? I use use phpMyAdmin to administer the database, so I don't think there are any features in the admin folder that I would need.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The admin folder is useful if you want to browse the data you have collected. I make the admin folders password protected so only I can view the data. If you had selected both file and SQL data then if you delete the admin folder the process.php will fail when it tries to write the data file. If you only selected SQL then deleting the admin folder will not harm the operation of the form.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have one last comment. You need to save th eadmin/config.inc.php file in case it is filled with critical SQL access data (username, password, etc). It was meant for this purpose but sometimes it does not hold all the information and the process.php has hard coded this information. This is usually the casse when both data and SQL have been selected. In any case if it is required you can edit the process.php file to modify the include statement to point to another location instead of the admin folder.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just wondering what the following files are for, and if they are necessary...
Each form created, generates a form1.html file and a form2.html file. Is there any purpose to this form2.html file? It is exactly the same with every form generated, but I'm not sure what its purpose is!
There is also a sub directory created with each form that is generated called /files which contains a file called 02_42_28_haar.html . This file contains information about "An Introduction to Wavelets and the Haar Transform". What's this file for?
My other question involves which files are changed from form to form, and which ones stay the same. Obviously the form1.html file is going to be different for each form generated, and it appears that the process.php file is also different. Are there any other files that would be different from form to form?
Thanks
The files are left over from development days.
In your form folder:
form2.html
files/02_42_28_haar.html
These files can be deleted or ignored.
In your installation:
The forms folder is where the generator stores a copy of the form being generated. It is used as a temporary file storage area.
If you remove the files listed above (same as files in your form folder) from the forms folder these will no longer be copied to new forms you generate.
From form to form the most important files are the form1.html, and the process.php file. These are critical and contain all the information necessary to support your new form. Another file in the admin folder is the data.dat file if you used file based database. All other files are the same.
My guess as to what is causing your issues is that the file and folder permissions are not consistent. If the form1.html file in the forms folder works, try duplicating the file and folder permissions to your new form in the use/formname area.
I have moved my created form to a new directory called MyForm. Within that particular directory is the form1.html (which I rename to index.html), process.php and the global.inc.php, which of course are critical files.
Since I am using a real MySQL Database (not a files based database), can I either password protect the MyForm/admin directory or even delete it completely? Is there anything in this admin directory that affects the use/submission of my form from an end user perspective, or that is critical to it working? I use use phpMyAdmin to administer the database, so I don't think there are any features in the admin folder that I would need.
Thanks
The admin folder is useful if you want to browse the data you have collected. I make the admin folders password protected so only I can view the data. If you had selected both file and SQL data then if you delete the admin folder the process.php will fail when it tries to write the data file. If you only selected SQL then deleting the admin folder will not harm the operation of the form.
I have one last comment. You need to save th eadmin/config.inc.php file in case it is filled with critical SQL access data (username, password, etc). It was meant for this purpose but sometimes it does not hold all the information and the process.php has hard coded this information. This is usually the casse when both data and SQL have been selected. In any case if it is required you can edit the process.php file to modify the include statement to point to another location instead of the admin folder.