Posts Tagged ‘php’

BlueBug 1.2 Released

Monday, October 27th, 2008
  • v1.2 - 10/27/2008 - RELEASED
    1. Fixed all short tags (if you still get an error let me know, I’m 99.9% sure I got them all)
    2. Script now works properly in sub directories - see demo for in-action.

PHP easy timezone set

Monday, July 28th, 2008

Here is a quick way to set a timezone:

<?php putenv(’TZ=America/New_York’); ?>

A list of timezones for php: http://www.theprojects.org/dev/zone.txt

To get the timezones into a file quickly:

wget http://www.theprojects.org/dev/zone.txt

cat zone.txt | awk ‘{ print $3}’ >> timezones.txt

Remove the first few lines and you have an easily read file that you can make a selection box out of.

© 2008 Josh Rendek.