johnself


Member since 02/27/2007

Location: Nashville

Website: http://johnself.com

6 snippets

5427 profile views

0 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

johnself's Recent Snippets



« Prev 1 Next »
Instead of using this function to set the default timezone in your script, you can also use the INI setting date.timezone to set the default timezone. * Does not affect timestamp functions, which are all GMT
0 958 posted 16 years ago by johnself
CSS files for larger sites can become pretty large themselves. Gzipping or compressing these files has shown to provide a reduction in the neighborhood of 70-80% of the original file size, a fairly significant 'weight loss'.
16 3758 posted 17 years ago by johnself
In light of last nights tornado warnings here in TN, I thought it appropriate to post this little bit of code that I use to alert myself and others of dangerous weather conditions via SMS/Email alerts. I run this through cron at Dreamhost without...
9 1162 posted 17 years ago by johnself
1 16069 posted 17 years ago by johnself
13 1905 posted 18 years ago by johnself
Returns an array of values specified for an enumerated MySQL field
2 1263 posted 18 years ago by johnself
« Prev 1 Next »