Category Archives: Development
← Older posts Newer posts →Over sixteen ways to obfuscate e-mail addresses
April 3, 2011Back in 2007 I wrote about email addresses on your website and how to avoid putting your email address in plain text. A guy I know, named “csarven” also wrote about methods to hide email addresses from page source providing … Continue reading
Posted in Development, Internet | Tagged email, obfuscate, php | Leave a commentReplace strings MySQL
March 23, 2011If you ever need to make big changes to your site, such as moving directory or changing the domain name you’ll know that you’ll have to make changes to the database for that to take affect.
Posted in Development | Tagged drupal, mysql, replace, Wordpress | Leave a commentget_favicon() php function
March 15, 2011I was after a php function that would get the favicon for a supplied domain, I did attempt to write my own but it proved more complex than I had first anticipated.
Posted in Development, Internet | Tagged favicon, function, google, php | Leave a commentPremature optimization is the root of all evil
February 22, 2011There’s loads of ways you can optimize your PHP code, however they are probably NOT the answer to your performance issues. A wiser man than myself once said: We should forget about small efficiencies, say about 97% of the time: … Continue reading
Posted in Development | Tagged cache, Donald Knuth, php, Premature optimization, xdebug | 1 Commentrglob.php
February 8, 2011Today I was having a look on PHP.net and noticed a PHP contest so I decided to submit one of my functions. I chose the rglob() function.
Posted in Development | Tagged glob, php, recursive, rglob | 1 Comment ← Older posts Newer posts →