Site Search

This search allows for boolean searching. Words must be greater than 3 characters, and will be ranked by relevance. Results will be displayed on this screen.


Search Options


Search Results
Crimson Editor Open Sourced
Some of you may know, I primarily use Crimson Editor for all of my coding work. It does a great job of being a simple text editor, but has some real
http://gavinbenda.com.au/2007/03/08/crimson-editor-open-sourced/

5 tips for web related jobs
We're currently hiring at my place of employment, and as the lead (read: only) developer, I'm left to sort out who we should hire from a tec
http://gavinbenda.com.au/2007/03/15/5-tips-for-web-related-jobs/

build a php caching system
Thinking about 'large' sites and scaling up to support huge numbers of users, it would be really great to be able to take out one of the maj
http://gavinbenda.com.au/2007/03/21/build-a-php-caching-system/

How to check mime types in php
When accepting user uploads, it's very important to check what they are uploading is actually what they say it is. Some scenarios are probably &a
http://gavinbenda.com.au/2007/05/09/how-to-check-mime-types-in-php/

Real world smarty templating
In a previous blog about caching pages , it was suggested I use smarty... well I decided to go for it, and while people have been using it for a lon
http://gavinbenda.com.au/2007/05/15/real-world-smarty-templating/

php coding from a design view
I've noticed an interesting trend with PHP Developers who started out from a design background. Actually, this applies to all programming languag
http://gavinbenda.com.au/2007/05/30/php-coding-from-a-design-view/

search results with PHP
Searching can be simple in PHP, but it exponentially gets more difficult when you want more features and more options. Personally, I think using GET
http://gavinbenda.com.au/2007/06/27/search-results-with-php/

opening excel files in php
Sometimes it's really convenient to be able to open an excel spreadsheet up and grab the data - a common example is clients who can't use an
http://gavinbenda.com.au/2007/07/03/opening-excel-files-in-php/

why you should avoid PHP_SELF
It's pretty common for PHP developers to use $_SERVER['PHP_SELF'] to grab the destination page when using a form action. A common setup
http://gavinbenda.com.au/2007/07/11/why-you-should-avoid-php_self/

typecasting in php
PHP is a loosely typed language, that is you don't need to keep track of variable types like languages such as Java. Both have their us
http://gavinbenda.com.au/2007/07/17/typecasting-in-php/

php 5 slow adoption
There seems to be a bit of chatter around at the moment regarding php5, now that the end of php4's development lifecycle has been announced . W
http://gavinbenda.com.au/2007/07/19/php-5-slow-adoption/

sort array by sub array value
I've come across this a few times in programming, the need to order an set of data by an array value inside it. A (very simple) example will make
http://gavinbenda.com.au/2007/07/26/sort-array-by-sub-array-value/

T_PAAMAYIM_NEKUDOTAYIM
Interesting error I'd never seen before today... Parse error: syntax error, unexpected '.', expecting T_PAAMAYIM_NEKUDOTAYIM
http://gavinbenda.com.au/2007/07/31/t_paamayim_nekudotayim/

dates and times in php and mysql
There are so many different methods of storing dates and times in mySQL fields - and the same goes with generating dates/times from within PHP. To ad
http://gavinbenda.com.au/2007/08/21/dates-and-times-in-php-and-mysql/

read Exif data with PHP
Exif data, is meta-data stored within digital photos which can provide very useful information such as the model of camera used to take it, right dow
http://gavinbenda.com.au/2007/09/18/read-exif-data-with-php/

Pagination in PHP and mySQL
Another little mini-tutorial to a commonly sought-after feature in a lot of applications. When you are dealing with large sets of data, i.e. thousand
http://gavinbenda.com.au/2007/10/04/pagination-in-php-and-mysql/

watermark an image in php
Occasionally when uploading your own photos, or artwork, or even if you run a site that hosts images and you wish to mark them, watermarking can be a
http://gavinbenda.com.au/2008/01/15/watermark-an-image-in-php/

Zend php IDE
Finding your perfect PHP editor can often be quite a personal thing, as everyone has their own preferences and style. For years I've used crims
http://gavinbenda.com.au/2008/02/06/zend-php-ide/

Cloud Map