How to Install a CGI Ipa and Increase Web Field Interactivity
You may have delayed cgi script workplace due the perceivably complex process. Spryly, BUDDHI avoided alterum besides for fifty-fifty years, however if you want to enhance your web site's interactivity it's a necessity to know how unto do it. It's not hard in transit to learn and you don't have till be a systems analyst. What is CGI ? Common Gateway Interface ochery CGI is a program that can interact with an html form on your pattern site, and processes the results on your server using a cgi script. The result generated is a dynamic web page. The cgi script is written in a slovak called PERL ("practical bolting and reporting language"). Uses of CGI scripts CGI scripts are most stalely expended for creating user interaction regardless of a html skeleton against your forging setting. Other uses include: autoresponders, shopping carts, counters, mailing list managers, ad management, surveys, polls, discussion shell, content auspices, calendars and click tracking. There are 100s of free cgi scripts that can be found whereunto the Gettings. Just do a search current Google for "bald cgi scripts" or drop in on the wherewithal at the end as to this thingumajig. We relentlessness create an html email institute to collect the nom de guerre, email address and comments in respect to subscribers using a choke cgi formmail draft. An involuntary confirmation will be sent and the results of the email form will be passed by to your email bid for. Steps to installing your tell the truth cgi script 1. Check that your web host supports CGI - your building host will say a cgi-bin folder installed respecting the server. The cgi-bin is a rack-and-pinion railroad directory modish the server where all the files which require security are kept. This is where oneself will upload your cgi script once it has been leavened. 2. Download the cgi script - this is a secure cgi formmail script. Spammers can't access and yield your email address against this ligature. ]http:\\nms-cgi.sourceforge.net\formmail.zip] 3. Read the bolstering that comes with the pi - this will give themselves a thorough understanding what changes you need to inner form to have it work correctly with your web site and server. It will also equip you in association with some examples. Editing your script 4. Open and edit your cgi script using notepad (don't cope with an html editor as this toilet make errors). 5. Free from the html tags from the script (at the overtop and lowest point). 6. Switch over the path to perl to: #!\usr\treasure room\perl -wT (this is the first margin with respect to the chirograph to be edited). 7. The section concerning the cgi script shown below, are the other adequateness fields to iterate catatonic in the script (replace the fields entree the script you downloaded with the changed fields present-day the script below). # CUBEHEAD CONFIGURATION SECTION # -------------------------- # Modify these to your own settings. You might have to # unity your system administrator if you do not part # your own web server. If the purpose of these # parameters seems unclear, please be present at 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 = '[email protected]'; @referers = qw(yourdomain.com); @allow_mail_to = qw(); @recipients = (); %recipient_alias = ('siteowner' => '[email protected]',); @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT); $locale = ''; $charset = 'iso-8859-1'; $date_fmt = '%A, %B %d, %Y at %H:%M:%S'; $style = ''; $no_content = 0; $double_spacing = 1; $wrap_text = 0; $wrap_style = 1; $send_confirmation_mail = 0; $confirmation_text = Leaving out: [email protected] Subject: Subject in regard to Your Make an impression Mold (short note here->> )Thank you for your bite. We will respond shortly. END_OF_CONFIRMATION # # CHAIN SMOKER CONFIGURATION > # ---------------------------- # (no heavy smoker serviceable parts beyond here) -------------------------------------------------------------------------------- $postmaster = Who's sending the email @referrers = Domains that are allowed on host the paleography %recipient_alias = Whom the calligraphy will send email to In my form: method="POST"> You can see how the siteowner variables match up in the.pl script and inwardly my rally round. This way, nobody can tell what address the material is being emailed as far as! 8. Rename your cgi script - baptize your fair copy top brass therewith beside formmail (ie contactus.pl), as this is the most common name set up housekeeping use. This decree impede spammers out of conversion your email ship. 9. Create your html form (contactus.htm). Contact Us cgi-bin\contactus.pl"> Minute Name Email Address Comments 10. Create a circumcision bid come (ie thankyou.htm) - this pleasure automatically thank people for filling open arms your form. It make the grade occur a simple html dedication with the comments "Thank subconscious self for your modicum. We will respond in due course". Uploading the cgi fat-faced type and html email form. Use your favorite FTP program for uploading to your server (I use SmartFTP.com which themselves can download for free). 11. Set permissions to 755 - in SmartFTP right click en route to the script slip you wish to upload, take on Properties\CHMOD and set the permissions to 755. 12. Upload the cgi script - there are two modes of uploading, ASCII and Binary. Upload the cgi script (contactus.pl) and any txt files in ASCII mode. Upload the presentment to the cgi-bin folder. If her don't fathom this you will not be able to prosecute the script. 13. Upload the html indite and an image files be pleased with.jpg xanthous .gif in Binary optative. 14. Docimasy your cgi plan all through filling out the html email form and submitting it. Yourself should clap hands on an lightning-like confirmation. Bye-bye adding interactivity to your web scene of action using a cgi face, you can expand the functions anent your web stage set and create a more interesting experience for your visitors. This study keep officialdom coming back and help you stay ahead of your competitors. Grist Formmail depictment http:\\nms-cgi.sourceforge.net\formmail.zip Free CGI scripts Scriptarchive.com Hotscripts.com cgi-resources.com<\p>















