Category Archives: Web Development

Check For Loaded PHP Extensions

Sometimes you want to make sure a certain PHP extension is loaded or not. These extensions can be curl, xmlrpc, or ldap. After all, when you move your application from one server to another the configuration is not necessarily the … Continue reading

Posted in php, Web Development | Leave a comment

Extending an Existing Javascript Function

This is how you extend an existing javascript function. Assuming that you want to preserve the existing function and the “added algorithm” is somewhat only needed to be executed based on a certain environment only. 123456789101112function abc(){   alert(’abc is … Continue reading

Posted in javascript, Web Development | Leave a comment

Super Powerful Debugging Function in Javascript

Super powerful debugging function in JavaScript. This function will output your variable in question to the Firebug console or the HTML page. With it you can debug anything from an Object, array, string, integer, etc. It is also recursive-safe. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117/** … Continue reading

Posted in javascript, Web Development | Leave a comment