...

View Full Version : Can't get script to work



atco
05-06-2009, 02:23 PM
Sorry for the (probably) dumb question. I've downloaded a PHP script and have got most of it working for a banner rotator. However, I now need to pu the following bit of script into my webpage:

<?php
include_once("/PATH_TO_SCRIPT/ad_rotator.php");
?>

I can't work out what to put in place of PATH_TO_SCRIPT

My webpage resides in a folder called Actinic at www.mydomain.net/Actinic and my php script resides in a folder called ADV at www.mydomain.net/ADV

Would appreciate any help please!!!

_Aerospace_Eng_
05-06-2009, 02:31 PM
On your webpage at the very top add this

<?php
include_once($_SERVER['DOCUMENT_ROOT']."/ADV/ad_rotator.php");
?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum