First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: daFlash | Website: http://www.devinechaos.f2s.com

Now that you have uploaded and chmoded the files you will need to edit the following lines in book.cgi

#!/usr/bin/perl 
Note: Make sure that this path to perl is correct for your server if it is not then change it to the correct path to perl. If you do not know your path to perl then ask your server admin (i.e. the people you you have your website with) Also it would be good to point out at this time to check to see if cgi scripts are allowed on your server because some free sites don't allow you to host your own cgi scripts and if yours is one of them then you are just wasting your time.

You will also need to edit the follwing lines in book.cgi

$basedir="d:/webs/WebSites/flashkit.com/cgi-bin/guest";
$listfile="kitbook.txt";
#### Referer Check ##################################

&check_url;

sub check_url {
    
    local($check_referer) = 0;   

Change the $basedir to reflect the $basedir on your server. Here is how I changed mine:

$basedir="/web/sites/381/username/www.devinechaos.f2s.com/cgi-bin/";
Note: when changing this line DO NOT use your website address like:

http://www.mysite.com/guestbook.hmtl or http://www.mysite.com/cgi-bin/guestbook.html

Your correct $basedir will look something like mine. The most important thing to do is to add the cgi-bin/ to your $basedir if book.cgi is in your cgi-bin directory that is. (i.e. in my case my $basedir was /web/sites/381/username/www.devinechaos.f2s.com and I had to add /cgi-bin/ to the end of it for it to work.)

» Level Intermediate

Added: 2000-12-14
Rating: 6 Votes: 120
(10 being the highest)
» Author
--
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: S.Saipriya
» Title: Flash Fire Effect
» Description: This tutorial explains about how to create Fire Effect in Flash of Actionscript 2.0.I hope this tutorial helps you!
Featured Sound Loops
Image for equalize

Audio Player

» Author: Aidan Crouzet-Pascal
» Title: Falling Star
» Description: This loop is a cool sounding, E minor loop.
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Brandan Paulin
» Description: Epic sounding loop with Brass, Percussion, Strings and Winds. This is actually part of a Loop Pack called the Coming where you can download the rest of the loops that go with it FREE from my website.