AUTOPUB
version 2.1a

    Allow your visitors to add in your home page a little banner (logo) with a link to their site. With AutoPub there is only one banner at a time, until the next visitor replaces it. Then the old banner can be viewed in the "gallery".
WHAT'S UP ?

    Choice of how many cols in the gallery's table
    Complete Adminidtration Panel.
    Automatic Installation.
    A little protection against hackers.

INSTALLATION

  1. Upload on your server the all autopub directory and its files on your server, in the directory of the page where the logo will be included. For instance if you want see the logo on "www.yoursite.com/yourdir/yourpage.php", the autopub directory must be in "yourdir".
  2. Give write permissions to the webserver on the autopub dir (CHMOD 707).
  3. With your browser, go to install.php
    (i.e http://www.yoursite.com/autopub/install.php)
    and follow instructions. The program creates a ap_config.inc.php file in the autopub dir, and the autopub and autopub_conf tables in your MySQL database.
    Every times you want to modify Autopub, go to this install.php.
  4. In the page you want to show the logo, type this :
    <?PHP include ("autopub/ap_affich.php"); ?>
    (without <?PHP and ?> if it is inside PHP code!)
    at the place you want.
  5. Let me know where you use Autopub, that's funny !
    Please, if you run Autopub 1, you have to delete the old autopub dir from your webtree, and the autopub table in the database.
    If you run the version 2, don't drop the table.
Marc Cagninacci - http://www.phpforums.net - marc@phpforums.net