|
Calling CGI ScriptsIf you are reading this page, you probably already know about CGI. However, for those of you who don't, it is a way to use a "program" to add some spice to your site or to process information from a form. CGI finds new and exciting ways to do just about anything you need on your website. This page is dedicated to some of the scripts that RachelPautler.com has developed. You may have seen similar scripts, but these are our originals that we will share with you. All we ask is that you not remove our copyright information. The first script we would like to share is the one for the random proverb, which can be found on our Home Page. To use the random proverb on your page:
The result is as follows:If you do not wish the quote itself to be italicized, simply remove the '<i>' tag at the beginning of the line. If this code does not work on your page, then your ISP or Web Host has the 'exec' function turned off for security reasons. However, you can still use the link in other ways (like making a frame for it.) The second script allows visitors to your page to share the link to your page with friends. All they have to know is their own email address as well as their friend's email address. The code for the Share a Link is below:<TABLE BORDER=2
BGCOLOR=#bbaaff CELLPADDING=5> Feel free to change the background color of the table or rearrange the elements, just leave the Copyright information in the code. Although, changing the names of the input fields will cause the script not to function for you. An example of the confirmation message follows:
Message Sent!The following message has been sent to your friend at webmaster@rachelpautler.com:I thought you might enjoy the following page: We hope you have fun with these scripts, and please check back from time to time to see if we have more.
|
|