Tripod Tripod
New Users:  Sign Up    Members:  Log In
 
HOME
   help
BEGINNER
Start
What is CGI?
Getting a Script
Where your files are
Changing Variables I
Changing Variables II
Final Tweaks
>>Summary

Main Menu

Your guestbook is now up and running. The important things to take away from this tutorial are:
  • Any HTML files your scripts are altering need to be in your cgi-bin.


  • The URL of any file in your cgi-bin (while your script is running) is: http://cgi.tripod.com/your_membername/cgi-bin/filename


  • The system location of any file in your cgi-bin is the root directory.


  • You don't need to change the permissions of files in your cgi-bin; besides, you wouldn't be able to if you tried.


  • You don't need to worry about the location of Perl on Tripod; the CGI server ignores any headers on your Perl scripts


Using this information, you should be able to get most ready-made scripts running on your Tripod site, as well as any scripts you write from scratch.

There are some important limitations to consider when running CGI scripts on Tripod. Certain Perl commands have been disabled for security reasons. This is to prevent people from performing malicious acts, such as reading your private directories. People doing normal Web-site programming very rarely use most of these commands, but there are a few more common commands that you might want to know about. These are:

  system
  exec
  fork
  chown
  chmod
  sleep
  unlink
  kill
  eval
  All commands involving sockets

We've also limited how many system resources are available to each script. For example, a script can only use up to one second of CPU time before it is deemed to be causing problems and is terminated. This makes sure that people don't accidentally -- or intentionally -- write scripts that run endlessly and eat up all of the server's resources. It's unlikely that you'll run into system-resource constraints unless you're running a script which requires an exceptional amount of processing time or memory in order to do its thing.




    Tripod: Home | Site Map | About Tripod | International | Tripod Help | Report Tripod Abuse | Members | Angelfire Members

     » Lycos.com  © Copyright 2008, Lycos, Inc. Lycos is a registered trademark of Lycos, Inc. All Rights Reserved.
     About Lycos | Help | Jobs | Advertise

     Your use of this website constitutes acceptance of the Lycos Privacy Policy and Terms & Conditions