PDA

View Full Version : CGI Script



QuantumPhotography
09-16-2007, 02:19 PM
Hi All,

Can anyone help. I am playing with Dreamweaver and in the form creation section it says to find from hosting company (BV) cgi script that is used, to enable the form to be processed and emailed to myself.

The second part of my question is to automatically go to a "Thank you" page, like an action script. Would that simply be another html page or would it have to be php code. Would this then matter if the rest of the site is done and saved as html???

Thanks to anyone that can give some advice.

Karen Mac
09-16-2007, 07:08 PM
Qua,

It doesnt necessarily have to be a cgi script nor a bv script thats used for your form. And no it can be html, but your action page has to be php if the script used is php. If you look in the treasure chest theres formmaker pro that should work with your dreamweaver sites. I dont know that you can USE the bv forms with out altering them, I havent really tried. Forms arent my forte, but, I can do them with both the bv one and formmaker pro. But, I stop at mixing and matching them up. I would imagine the action php thats posted with the bv forms WOULD work as long as the coding was put in the proper places on your action page.

Karen

navaldesign
09-16-2007, 08:18 PM
Just type the correct action in your Dreamweaver form and you can use ANY php script, including ABVFP.

QuantumPhotography
09-16-2007, 09:36 PM
Thank you, I think I understand.

On my quantum page I have the php code, and my thank you page is the php page, so from what is being said I do much the same thing??

Regards

Karen Mac
09-17-2007, 03:36 AM
Pretty much .. thats it yes.

Karen

navaldesign
09-17-2007, 06:03 AM
The form page (which you define "quantum" , i'm i correct ?) doesn't need to be php, can be html. The thank you page, if you use the method described in the Tutorial, needs to be php because it will have the script in it.