zMastaa Blog

The Rat Race 0

The Rat Race

You get a little bit of education, you find a life partner, you buy a piece of land that you proudly tie to your name, create a family. You’ve made it. Right. But why?...

Note to self: Youtube ID from regex PHP snippet 0

Note to self: Youtube ID from regex PHP snippet

$subject[]=”https://www.youtube.com/watch?v=61QF9CgzRQI&feature=youtu.be”; $subject[]=”http://youtu.be/61QF9CgzRQI”; $subject[]=”http://www.youtube.com/embed/61QF9CgzRQI?rel=0″; foreach($subject as $sub){ $preg_test = preg_match(“/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/”, $sub,$matches); ?> <pre><?php print_r($matches)?></pre> <?php }  

WordPress myth #1 0

WordPress myth #1

“WordPress??” “I’m quite certain thats just a blogging tool” I’ve heard various versions of this line from potential clients all too often. WordPress, the simple blogging software. It is this stigma that WordPress has...