GIMP Free Alternative to PhotoShop
May 20, 2008 at 10:08 pm | In Free Web Tools | Leave a CommentTags: Gimp, Image Editor, PhotoShop
Want A Free Alternative to PhotoShop?
Of course you do!
Check out the open source alternative to PhotoShop, Gimp.
This is a powerful image editor and graphics tool that is free to use. It has pretty much the same tools as PhotoShop but the price is better!
Check out the site, download Gimp and enjoy.
Go get it! Visit the GIMP website.
Find me on Twitter!
Website Year Automatic Update With PHP Code
May 15, 2008 at 1:42 pm | In Website Design Tips | Leave a CommentTags: PHP Code
Website Year Automatic Update With PHP Code
To update your website year information automaticlly (usually in the site footer) add the following php code to the footer:
<?php
ini_set(‘date.timezone’, ‘Europe/Dublin’);
$startYear = 2006;
$thisYear = date(‘Y’);
if ($startYear == $thisYear) {
echo $startYear;
}
else {
echo “{$startYear}-{$thisYear}”;
}
?>
Save, upload and view. Simple.
Remember to change ‘$startYear = 2007′ to the year your site went live. Also, when adding PHP code your webpage must be a PHP page.
Important note: If you copy and paste the PHP code into an editor (like Dreamweaver) you may need to replace the commas etc. For some reason they don’t ready properly sometimes. Beats me!
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.