Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: James Redfern on November 01, 2002, 01:56:33 AM

Title: phpAdsNew latest version
Post by: James Redfern 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':



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

JR.