|
|
Additional Resources
|
|
American Consultants Donates Free Prescription Cards To Arizona Community By Tanya Young Charles Myrick the President of American Consultants Rx announced the re-release of the American Consultants Rx community service project. ACRX donated over 20 Read more...
|
|
|
|
Virtualsoftnet Heading....
Below, you'll
find extensive information on leading perl script articles and products
to help you on your way to success.
How To Install A Cgi Script And Increase Web Site Interactivity You may have delayed cgi installation due theapparently complex process. Well, I avoided it also forseveral years, however if you want to increase your website's interactivity it's a necessity to know how to do it.It's not hard to learn and you don't have to be aprogrammer.What is CGI ?Common Gateway Interface or CGI is a program that caninteract with an html form on your web site, and processesthe results on your server using a cgi script. The resultgenerated is a dynamic web page. The cgi is writtenin a language called PERL ("practical extraction andreporting language").Uses of CGI scriptsCGI scripts are most commonly used for creating userinteraction with a html form on your web site. Other usesinclude: autoresponders, shopping carts, counters, mailinglist managers, ad management, surveys, polls, discussionboards, content management, calendars and click tracking.There are 100s of free cgi scripts that can be found on theNet. Just do a search on Google for "free cgi scripts" orvisit the resources at the end of this article.We will create an html email form to collect the name,email address and comments of subscribers using a securecgi formmail script. An automatic confirmation will be sentand the results of the email form will be passed on to youremail address.Steps to installing your own cgi script1. Check that your web host supports CGI - your web hostwill have a cgi-bin folder installed on the server. Thecgi-bin is a special directory in the server where all thefiles which require security are kept. This is where youwill upload your cgi once it has been modified.2. Download the cgi - this is a secure cgi formmailscript. Spammers can't access and harvest your emailaddress from this script.http://nms-cgi.sourceforge.net/formmail.zip3. Read the documentation that comes with the - thiswill give you a thorough understanding what changes youneed to make to have it work correctly with your web siteand server. It will also provide you with some examples.Editing your script4. Open and edit your cgi using notepad (don't usean html editor as this can create errors).5. Remove the html tags from the (at the top andbottom).6. Change the path to perl to: #!/usr/bin/perl -wT (this isthe first line of the to be edited).7. The section of the cgi shown below, are the otherminimum fields to fill out in the (replace thefields in the you downloaded with the changed fieldsin the below).# USER CONFIGURATION SECTION# --------------------------# Modify these to your own settings. You might have to# contact your system administrator if you do not run# your own web server. If the purpose of these# parameters seems unclear, please see the README file.#BEGIN{ $DEBUGGING = 1; $emulate_matts_code= 0; $secure = 1; $allow_empty_ref = 1; $max_recipients = 1; $mailprog = '/usr/lib/sendmail -oi -t'; $postmaster = 'youraddress@yourdomain.com'; @referers = qw(yourdomain.com); @allow_mail_to = qw(); @recipients = (); %recipient_alias = ('siteowner' => 'youraddress@yourdomain.com',); @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT); $locale = ''; $charset = 'iso-8859-1';
Additional
Resources
Prescription Cards Donated To Mississippi Community By Tanya Young ACRX announced the re-release of the American Consultants Rx( community service project of where arrangements have been made to donate over 20 million ACRX discount Read more...
|
Additional
Resources
Free Prescription Cards For Ohio Community By Tanya Young Charles Myrick the President of American Consultants Rx announced the re-release of the American Consultants Rx community service project. ACRX donated over 20 Read more...
|
We strive to provide only quality articles, so
if there is a specific topic related to script that
you would like us to cover, please contact us at any time.
And again, thank you to those contributing
daily to our perl script website.
|
|