Explode (split) a string on multiple delimiters

March 20, 2014 at 2:34 pm

This is the most elegant solution I’ve found so far:

function explodeX($delimiters,$string) {
return explode(chr(1),str_replace($delimiters,chr(1),$string));
}

Free WiFi Hotspots in Cape Town

March 19, 2014 at 10:39 am

free-capetown-wifi-hotspotsA friend showed me this digital bundle of joy just a few moments ago. See a map with a complete list of free WiFi hotspots in Cape Town. Check it out here:

https://mapsengine.google.com/map/u/0/edit?mid=zpX-MvdqQIcQ.kxtx-tf5Tu1M

 

Free Stock Photos!

March 17, 2014 at 4:50 pm

Free Stock Photos for your WebsiteEver needed some high quality images for your website or blog? Then check out www.mastersnaps.com. They offer free photos that you can use on any site or blog. Only catch is you must offer a link back to them, but the good news is that the link doesn’t have to be something that gets in the way. You can request that it goes on a “credits” page or anywhere that works for you. Their collection is growing every day and allows for easy searching using keywords.

Need to extract e-mails from a large chunk of text? Try this!

March 3, 2014 at 6:27 pm

You can easily extract e-mail addresses from a big chunk of text using this:

http://emailextract.org/