Add Custom PHP

Load your custom PHP code every time a page is loaded. Available as plugin for Joomla 2.5.x and 3.x.

Joomla 2.5.x Compatible Joomla 3.x Compatible

Demo for Add Custom PHP

In this demo, the custom PHP code checks for the word "customphpcode" in the url. If this word exists in the url, then the code stops the normal execution of the page and shows only a simple message. Please click the following link:

http://joomla.impression-estudio.gr/demo/customphpcode

The custom PHP code is the following:

<?php
if (strstr($_SERVER['REQUEST_URI'], "customphpcode")!==false)
{
	die("Demo for 'Add Custom PHP' plugin.");
}
?>