December 20th, 2006

Microsoft Virtualization Training

This post is sponsored (more…)

December 20th, 2006

How to get / parse the web page file name with PHP

I recently had the need to determine the exact file name of the current web page within a PHP application. It is simple to retrieve the full URL containing the filename, such as http://www.domain.com/example.php using $_SERVER['PHP_SELF'], but I wanted to parse only the 'example.php' part.

I used two string functions to do this, substr and strrpos. Strrpos finds the last occurrence of "/", and substr parses everything after that. Here's the code:

substr($_SERVER['PHP_SELF'], strrpos($_SERVER['PHP_SELF'], "/") + 1)
December 20th, 2006

Should I get a DVR?

This post is sponsored (more…)

December 18th, 2006

Simple Joomla module to add any HTML to any position

Create beautiful Joomla websites with a flexible layout from iJoomla.com

With all my Joomla installations, I've usually been able to find a module to provide some sort of content for a sidebar. But sometimes, you just need a bit of static HTML that isn't automatically created anywhere on your site. So I whipped together this very simple Joomla extension that just provides a textarea for you to put in any HTML you want to. That HTML is then displayed wherever you place the module. (more…)

December 18th, 2006

Another SEO blog

A quick link to a new SEO blog (more…)

« Previous PageNext Page »