SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: phpAds

  1. #1
    <? echo "Kick me"; ?> petesmc's Avatar
    Join Date
    Nov 2000
    Location
    Hong Kong
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Just wondering if anyone has had problems installing phpAds and getting it to work.

    After I've installed and everything, i goto a page which has the following entered:

    PHP Code:
    <html><head><title>Test</title></head><body>
    <?
    include("config.inc.php");
    include(
    "view.inc.php");
    include(
    "acl.inc.php");
    ?>

    </body></html>
    Here is the result: No banner is not shown and this is the code:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
    <BODY></BODY></HTML>
    DOes anyone know why it would do this? I really have no idea what is happening. I have entered mulitple banners and accounts etc, and couldn't get a reply from the makers of this script. I also noticed a minute ago that SPF uses phpAds, can you tell me how the install went?

    PLease any replies help

    Peter

    EDIT: The page can be found here: http://www.codingclick.com/phpAds/testing.php
    Last edited by petesmc; Feb 17, 2001 at 07:52.

  2. #2
    <? echo "Kick me"; ?> petesmc's Avatar
    Join Date
    Nov 2000
    Location
    Hong Kong
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Sorry guys, but I found the answer.

    They don't tell you this in the INSTALL file in the zip. But you also have to use view()

    So this is my code now:

    PHP Code:
    <?
    include("config.inc.php");
    include(
    "view.inc.php");
    include(
    "acl.inc.php");

    view("468x60");
        
    ?>

    I've already message them telling them to ad it to the install file.

    Thanx

    Peter


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •