Blog

Copy on write

posted: 2011-01-02 17:46:10



When using a language like php it's easy to forget about what is happening in the background when we perform even very simple operations such as a copy of an array. When we make a copy of an array, P...

read more

Session cookies and curl in PHP

posted: 2010-08-13 21:29:33



This is a quick example of how to use curl in PHP to send login information via POST using CURLOPT_POSTFIELDS to a webserver and the use the CURLOPT_COOKIEJAR and CURLOPT_COOKIEFILE store and re-send...

read more

Why you should use PHP Iterators and IteratorFilters

posted: 2010-07-04 10:29:49



One of the major advantages to come from the SPL is the introduction on the iterator interface and her derived classes. The iterator interface contains 6 abstract functions. abstract pub...

read more

Sorting an array of objects in PHP

posted: 2010-06-06 22:49:35



Today I thought that I would talk about using a comparison delegate function with native PHP sort functions. The reason for me writing this tutorial is that I often come across code where developers ...

read more

Remove index.php from your codeigniter url

posted: 2010-04-12 19:10:21



Want to make your CodeIgniter URL's a little friendlier on the eye? Then all you need to do is take 2 simple steps. Firstly open your application/config/config.php and set the index_page value to: ...

read more

<< Previous | 1 | Next >>