Koozali.org: home of the SME Server

phpAdsNew latest version

James Redfern

phpAdsNew latest version
« on: November 01, 2002, 01:56:33 AM »
Having got it working effortlessly once before, when it was pre-configured into an auction package, I now find myself struggling to get the latest version of phpAdsNew running on a virtual domain website.  Can anyone give me some pointers on how to do it on e-smith?  Having set it up according to the book (in /ibays/southern/html/phpadsnew/, the code it wants me to use in 'local mode' is as follows, for php:

    require(getenv('DOCUMENT_ROOT').'/phpAdsNew/phpadsnew.inc.php');
    if (!isset($phpAds_context)) $phpAds_context = array();
    $phpAds_id = view ('', 2, '_blank', '', '0', $phpAds_context);
?>

and suggests this html in the slower 'remote mode':

http://www.southerncarsales.co.uk/phpAdsNew/adclick.php?n=ac88577b' target='_blank'>http://www.southerncarsales.co.uk/phpAdsNew/adview.php?clientid=2&target=_blank&n=ac88577b' border='0' alt=''>

I have tried imedding both/either in my html header but neither works.  Can anyone help me with this?

JR.