Can this be done? Has anyone done this? I use Dreamweaver Mx to build my site and I'm not sure how to add my own graphics and such to the form once PHPGenerator has created it.
Also, how do you go back to a form to edit the fields or add more options once it has been created? do I need to delete the original and then create a whole new one?
Kareem
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the program generates an html file that contains the form interface. You can simply pop that file in to dreamweaver and do whatever you want with it. Just make sure that the updated file has the same name. Also, do not touch any of the form fields, as they would affect the functionality of the form.
Forms cannot be editted in the current version. Once a form is generated, its pretty much done.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Which file do I add the graphics to? I initially started to go into the file named "form1" inside the forms folder. Is this one the right file to edit?
Kareem
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've downloaded the html file and done the specific adjustments with my own graphics and customizations, but when I try to upload my revised file, it says "access denied", no matter what FTP program I use. The permissions are set correctly (777), but I am having no luck. Could it be something with my host, or is there a step that I am forgetting?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Let me see if I can explain how I had to do this:
SSH or FTP into your server and make sure all permissions are correct before going any further.
Also change ownership of all files in the phpformgenerator folder. chmod usename:usename foldername
Next I downloaded to my local machine the form1.html file from the use/whatever directory.
Edited it in Frontpage, saved it on local machine, and then FTP back to the server. Keeping the same filename when uploading of course. Now I am on a cpanel server and my server uses pureFTP so when I uploaded the edited file, with WsFTP, instead of overwriting the form1.html file it had uploaded the file with a very weird filename.
So next I changed the filename of form1.html to form21.html and the file with the weird name I changed to form1.html..
Checked everything out and all was well.
The next step I took was to rename the form1.html file in the use/whatever directory to another name and all is good.
Hope this helps someone.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yea the reason this permission issue is occuring is because of the way your ISP has setup webserver and directory permissions. The naive ISP will use the default setting where the webserver is run as the user "nobody" and thus cannot be added to the group of users that have read+write permissions to the directories. The proper setting would be something like this: The user running the webserver should be added to a group, along with all the user accounts of people using the webserver. Then, the permissions can be set to 775 for each directory and file. That way, the webserver will be able to write and read the files without any problems, and so would the regular users.
Right now what is happening is that once the webserver writes the files (generated by phpFormGenerator), the regular users don't have permission to modify them because they belong to some other unknown user!
I was getting the same access error when trying to upload my form1.html file after I edited it. For some reason, I couldn't change the permissions for the folder that was created when I created the form. Long story short; I took the entire contents of the folder that was created and transferred it to a newly created folder under my public_html folder. I then edited my form1.html and was able to upload it to the newly created folder. I had to make sure and change all permissions to 777 for things to work. After I did that, all was well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can this be done? Has anyone done this? I use Dreamweaver Mx to build my site and I'm not sure how to add my own graphics and such to the form once PHPGenerator has created it.
Also, how do you go back to a form to edit the fields or add more options once it has been created? do I need to delete the original and then create a whole new one?
Kareem
the program generates an html file that contains the form interface. You can simply pop that file in to dreamweaver and do whatever you want with it. Just make sure that the updated file has the same name. Also, do not touch any of the form fields, as they would affect the functionality of the form.
Forms cannot be editted in the current version. Once a form is generated, its pretty much done.
Thanks Musawir,
Which file do I add the graphics to? I initially started to go into the file named "form1" inside the forms folder. Is this one the right file to edit?
Kareem
yea
I've downloaded the html file and done the specific adjustments with my own graphics and customizations, but when I try to upload my revised file, it says "access denied", no matter what FTP program I use. The permissions are set correctly (777), but I am having no luck. Could it be something with my host, or is there a step that I am forgetting?
That is the same problem I have. Does anyone have an answer?
Let me see if I can explain how I had to do this:
SSH or FTP into your server and make sure all permissions are correct before going any further.
Also change ownership of all files in the phpformgenerator folder. chmod usename:usename foldername
Next I downloaded to my local machine the form1.html file from the use/whatever directory.
Edited it in Frontpage, saved it on local machine, and then FTP back to the server. Keeping the same filename when uploading of course. Now I am on a cpanel server and my server uses pureFTP so when I uploaded the edited file, with WsFTP, instead of overwriting the form1.html file it had uploaded the file with a very weird filename.
So next I changed the filename of form1.html to form21.html and the file with the weird name I changed to form1.html..
Checked everything out and all was well.
The next step I took was to rename the form1.html file in the use/whatever directory to another name and all is good.
Hope this helps someone.
Sorry about that the above line should be changed from;
chmod usename:usename foldername
to
chown usename:usename foldername
When I try to chmod the directories I get the error
Bad file descriptor
yea the reason this permission issue is occuring is because of the way your ISP has setup webserver and directory permissions. The naive ISP will use the default setting where the webserver is run as the user "nobody" and thus cannot be added to the group of users that have read+write permissions to the directories. The proper setting would be something like this: The user running the webserver should be added to a group, along with all the user accounts of people using the webserver. Then, the permissions can be set to 775 for each directory and file. That way, the webserver will be able to write and read the files without any problems, and so would the regular users.
Right now what is happening is that once the webserver writes the files (generated by phpFormGenerator), the regular users don't have permission to modify them because they belong to some other unknown user!
For a proper ISP, check out Microterra Solutions. http://www.microterra.net
I was getting the same access error when trying to upload my form1.html file after I edited it. For some reason, I couldn't change the permissions for the folder that was created when I created the form. Long story short; I took the entire contents of the folder that was created and transferred it to a newly created folder under my public_html folder. I then edited my form1.html and was able to upload it to the newly created folder. I had to make sure and change all permissions to 777 for things to work. After I did that, all was well.