Download Perl ScriptsFree-Busy Folder - $0 Version 50504-0002
Add to Cart
demo/see it work
FreeBusy by CrookedBush.com Inc.
(c) 2004 Jason Silver
Thanks for Registering!
Report any bugs to email@example.com.
Allow your staff to configure Outlook to automatically publish
FreeBusy information. This script runs on that server and allows
your users to view the FreeBusy files in an easy-to-understand
1. Using a text editor like textpad, or notepad, open the .pl script
Change the path to perl so that it's configured for your server.
Make changes to the variables at the top as well:
This is where the freebusy files are uploaded to:
$datapath = "/home/sites/site165/users/freebusy/web/";
This is how many days to display ahead on the interface:
$look_days_ahead = 3;
This is the offset to set your time properly:
$gmt_time = -4; # default GMT time for first display
This is the time zone correction if your server is in a different time zone than your uploading users:
$time_zone = "2"; # location of server compared to users for correct clock settings
This is the upload url to your FTP server. Notice the login:password format and the backslash infront of the @ sign which is necessary as well.
$upload_url = "ftp://freebusy:community\@www.getchurch.org/web/";
This URL allows the form on the site to work, and points to the script itself. I have it set as a folder below because my index page has a SSI to call the script directly.
$search_url = "http://www.getchurch.org/\~freebusy/";
This is the URL to the images. Mine below is a relative URL from the server's root.
$images = "/~freebusy/images";
2. Use an FTP program like WS_FTP or CuteFTP (just some examples I'm aware of)
and upload the file to your server.
3. Set permissions (CHMOD) on the *.pl file so it's executable. (755).
The owner should be able read, write, and execute.
The group should be able to read, and execute.
Also, other should be able to read, and execute.
4. Insert the following into a text file and rename it to index.shtml:
5. Place the above HTML clip in the folder where you want the FreeBusy reader to be.
Be sure the page has a Server Side Include extension (.shtml), or
that you have enabled SSI on all html pages. You may need your site
administrator to enable this feature.
That's it! You're set! Let me know if you have problems.