Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Images for Christmas

For just the winter holiday season, we'll be changing the image in our page header at seven minutes after five each morning. Will we be up at that time, then? Well - we might be but to make it consistent, we're using a crontab job on the server.

This is the regular image ...


And this is the image that we're showing today ...


I have to admit that after 30th December, this post is going to look a trifle boring. If you want to click here, here and here, you'll see the images for the holiday season. And here are the crontab lines ... as examples.

7 5 18,21,24,27,30 12 * cp /home/(dirname)/tdv.jpg /home/(dirname)/WHClogoBW.jpg
7 5 19,22,25,28 12 * cp /home/(dirname)/tsc.jpg /home/(dirname)/WHClogoBW.jpg
7 5 20,23,26,29 12 * cp /home/(dirname)/tho.jpg /home/(dirname)/WHClogoBW.jpg
7 5 31 12 * cp /home/(dirname)/WHClogoRegular.jpg /home/(dirname)/WHClogoBW.jpg


The first three lines rotate the images from 18th to 30th December each year, and the final line switches it back on New Year's Eve.
(written 2008-12-21 00:34:39)

 
Associated topics are indexed under
H309 - PHP - Maps, Graphics and Geographics
  [2675] Redirecting to your main domain for correct security keys - (2010-03-13)
  [2583] Reducing image size on digital photos - PHP - (2010-01-17)
  [2390] Dynamic / changing images on your web page - (2009-09-01)
  [2361] Geocoding - converting address to latitude / Longitude with PHP via Google - (2009-08-14)
  [2343] World Flags in your PHP pages - (2009-08-10)
  [1923] Making it all worthwhile - (2008-12-04)
  [1756] Ever had One of THOSE mornings? - (2008-08-16)
  [1752] Dynamic maps / geographics in PHP - (2008-08-13)
  [1734] All around the world? - (2008-08-03)
  [1724] addslashes v mysql_real_escape_string in PHP - (2008-07-27)
  [1628] Gant charts - drawing them with a PHP script - (2008-05-03)
  [1391] Ordnance Survey Grid Reference to Latitude / Longitude - (2007-10-14)
  [1390] Converting from postal address to latitude / longitude - (2007-10-13)
  [1389] Controlling and labelling Google maps via PHP - (2007-10-13)
  [1194] Drawing hands on a clock face - PHP - (2007-05-19)
  [1104] Drawing dynamic graphs in PHP - (2007-03-09)
  [937] Display an image from a MySQL database in a web page via PHP - (2006-11-22)
  [665] PHP Image viewing application - (2006-04-01)
  [563] Merging pictures using PHP and GD - (2006-01-13)
  [320] Ordnance Survey - using a 'Get a map' - (2005-05-22)


Back to
How to avoid duplicating web page maintainance
Previous and next
or
Horse's mouth home
Forward to
Why are cooks bad tempered?
Some other Articles
Christmas Survivors
-
PHP - Parse error: syntax error, unexpected $end ...
Why are cooks bad tempered?
Images for Christmas
How to avoid duplicating web page maintainance
mod_rewrite for newcomers
End of Training, 2008
Small Print
Whisky - Setting and reading cookies from Perl
2675 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho