WordPress is one of the worlds biggest blogging platforms and can be easily extended with vulnerable add-ons to support a variety of functions – from CMS’s to stores and pretty much anything in between. Within some web applications, themes may contain variables that refer to dynamic elements while in others, like WordPress, insecure PHP files …
Category Archives: Programming
PHP: Crontab Class to Add, Edit and Remove Cron Jobs
Provided that your user account on the server has the privileges to access crontab thus can create or remove cron jobs, you can use this PHP class to integrate crontab in your application. I created it for many of my own projects that need crontab to do scheduled jobs. It’s pretty straightforward.
Benchmarking PHP GEttext
I created a simple web page to compare the performance of various localization methods for PHP. It only contains 3 localized strings and does not use advanced features of gettext (e.g. plurals). I wrote a version using the gettext PHP extension (“gettext Ext.”), one using PHP-gettext (“gettext PHP”, a gettext implementation written in pure PHP) …
Netbeans setup wamp xdebug
First, check that it isn’t actually working for you, and you don’t notice. I’ve done this…convinced it’s not working I wasted a chunk of time trying to get it to work, only to find that everything was OK.
Upgrade PHP
With ‘upgrade.php‘ on-hand, you can use many features from newer PHP versions (up to 5.3/5.4 currently) without losing compatibility to older interpreters and outdated webserver setups. It takes care of emulating any functions (with their original names) that are missing at runtime.
php.mo
Converts gettext translation ‘.po’ files to binary ‘.mo’ files in PHP.