Tuesday, July 14, 2009

Web design | forms | CGI scripts, i just don't get em, can anyone explain em?

I%26#039;m farely ok at designing website, but when it comes forms and CGI scripts, i just don%26#039;t get how they work or how to modify them, can anyone suggest a good cgi script and give me a bullet proof breakdown how to modify it and get it working on a test website page? just so i can create the simpliest of feedback forms?



Web design | forms | CGI scripts, i just don%26#039;t get em, can anyone explain em?





You%26#039;re not alone took me ages to get to grips with them originally. Part of the problem is that there are several layers that you need to get to grips with.



1). Creating the web form and point the action element of the form to the script



2). Understanding what the Perl script does - read the documentation



3). Configuring the script to run on your web site - read the documentation



4). Uploading the script your CGI-bin and setting the correct permission normally 755 ( if that%26#039;s meaningless see link below)



5). Test your form and debug



As you don%26#039;t say which CGI script your using I%26#039;ll assume its a Perl script from Matts Script Archive see link below.



Once you have downloaded the files the README file contains full details on how to configure the FormMAil.pl script.



I%26#039;m not going to try and cover that here you need to print the file out and ask further question specific to areas you don%26#039;t get.



The script need to be placed in the CGI-bin directory of your web site.



The links below provide a lot more detail - but it can be painfully slow if your new to it



Best of luck



Web design | forms | CGI scripts, i just don%26#039;t get em, can anyone explain em?



You can get some help from here:



http://www.directoryone.com/articles/bas...

No comments:

Post a Comment