First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
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: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
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: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.