Veinotte's Scripts - Header
Custom programming is our specialty!
Contact us for a quote.
         May 11, 2008    8:33 pm AST   May 11, 2008    8:33 pm AST



Pass It On !

Veinotte.com's
Ultra Recommender




 


Ad Eagle Suite Advertising Software!

Today Header 1.13

This script is a Little Toy ( as on the top of the page ) that displays the date and time on your website, using an image to show the day or the week. Download Here Free!

Configuration:

Create your images, naming them monday.gif tuesday.gif etc. If you use jpg's you

will have to change the image calls in the top section of the script to .jpg instead of .gif.

The only other required items are,

#!/usr/local/bin/perl

Make sure you have the correct path to perl for your system.

$time_zone = "ET"; 

Your time zone of course.

If the time you wish to display differs from your servers localtime() uncomment ( remove the # from before the variable) the appropriate choice of the two below. If your time is two hours ahead of your servers, set $more to read like so-> 
$more = '2';
And if it is less, use less. If your time is the same as your servers, leave them commented out.

#$more = '2';
#$less ='2';


$images_dir = "/images/"; 

This is wherever you put your images. It can be a full url like so:
http://www.yourdomain.com/images/

Or a partial url like so:
/images/
Be sure to include the trailing slash.



That should about do it. You use SSI to call it, placing a tag like so in your html page:

<!--#exec cgi="/cgi-bin/today_header.cgi" -->

Download Here Free!



Need more information?
View the Contact Page or write to
Support

Join our mailing list to be notified of upgrades, 
bug reports and new product additions.
Enter your email address below.


You can remove yourself at any time

            This site is a © production of Veinotte.com
Contact Webmaster with questions or comments regarding this site.