-
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".
-
Give write permissions to the webserver on the autopub dir (CHMOD 707).
- 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.
-
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.
-
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.
|