Log in

View Full Version : scripting my form



glycoray
10-17-2006, 05:54 AM
I have a contact form at www.maxwealthsystem.com whcih is a .cgi and woild like to change the scripting to .php Is this easily done? Can I add features to the results end of the "Send Form"? Can I change the look of the contact form info that is delieved in the recepient email account?

Thanks,

Glycoray

codeexploiter
10-17-2006, 09:26 AM
Posted By glycoray

I have a contact form at www.maxwealthsystem.com whcih is a .cgi and woild like to change the scripting to .php Is this easily done?

Yes you can change that into PHP without much difficulty. In your posting you haven't mentioned where you have stored the data from the user. I assume that you are using either files or database. Using PHP you can store your data either in files or in databases.



Posted By glycoray

Can I add features to the results end of the "Send Form"?

It is not clear so that it is difficult to comment about it. Please elaborate what is the meaning of features here?



Posted By glycoray
Can I change the look of the contact form info that is delieved in the recepient email account?

Yes you can change the visual look and feel of the data you are handling

BLiZZaRD
10-17-2006, 10:52 AM
check out this page (http://www.dagondesign.com/articles/secure-php-form-mailer-script/)

I just did it yesterday, my very first contact form ever. It took me about 7 minutes to install and customize. You can change EVERYTHING, from the size and look to the options, choose which are required and which are not, etc etc

it is all php, and more secure than anything I could find. You can have one contact, multiple BCC or CC contacts or even a drop down selection list of contacts. It also has a GD library image verification so bots can't send info over and over and over again..


I even stored the files outside my root folder, for added security. All the email addys you add are in one file and not in the HTML on the page, and having the form outside root means no one can browse it and harvest email addresses.

I like it.

If you want to see the page I set up you can view it here (http://cleverwasteoftime.com/contacts.html)

:D

Twey
10-17-2006, 04:59 PM
.cgi is not any specific scripting language. CGI (Common Gateway Interface) is a standard by which a webserver can use any conforming executable to generate output. Depending on the language (C, for example), it might require a complete rewrite. However, it might be written in a more compatible language such as JSP or ASP, in which case only the portions specific to that language need be edited. It might even be written in PHP already, run via a standalone parser.