PHP Code Samples

phpBB iPhone theme style

Exporting Announcements from WHMCS

Doing some integration work with WHMCS, I found the need to export some of the announcements into Wordpress. Since there isn't any native implementation of this, I found the best way is to export it directly from the database. The PHP code to do this is fairly easy...

Adding Random Quotes to the Bash Login Screen

/
According to "official" system administrator rules and guidelines…
phpBB iPhone theme style

Find Out If A Twitter Username Exists Using PHP/JSON

/
I've been trying to grab a Twitter screenname that people continually…
phpBB iPhone theme style

A phpBB 3 iPhone Style Theme With Option to Disable

/
A forum that I am an adminstrator for has been clamoring for an iPhone theme (style) for a long time now. In the past, I hadn't seen any usable iPhone template for phpBB3, until now. View this entire post to view my modifications to a theme switcher for mobile devices, so that the end user can disable a mobile theme for their login if they should choose to do so.
phpBB iPhone theme style

Adding a Module Position in a Joomla 1.5 Template

/
Adding a module position in a Joomla 1.5 template is not as easy…
phpBB iPhone theme style

Last Modified Date or Time on Wordpress Template Page

/
I couldn't readily find an answer to this question via the google.…
phpBB iPhone theme style

Secure Drupal Admin Login Page

/
Drupal's administration login area is not secure by default.…