PX : code

AdRotator DEMO by Walker Chen
Download this code


<?
$DocRoot     =  getenv( "DOCUMENT_ROOT" );
if( $DocRoot == "" )
{
  $DocRoot = get_cfg_var( "doc_root" );
}

$DocRoot = $DocRoot . "/simpleworld";
$ShareLib = $DocRoot . "/incs/adrotator.hp";

require( $ShareLib );

// Setup environment variables.
$Version = 0;

echo '<center>';
AdRotator();
echo '</center>';
?>

Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.