/* $Id: INSTALL,v 1.4 2000/02/12 01:27:39 lim Exp $ */ phpAds - Installation Quick Install: [1] Untar the distribution (be sure to untar the subdirectories) tar xvf phpAdServer_x.x.x.tar [2] Open the file config.inc.php3 in your favourite editor and change the values to fit your environment. [3] Create the database you'll use for phpAdServer (default name: "phpadserver"). Within this database, create the required tables as provided in all.sql. You can use the mysql-client for this: mysql < all.sql or you can use phpMyAdmin to read in the dump. [4] Point your browser to //admin/index.php3 and create a new client. Add a banner for that client. [5] To send automatically a weekly email to your clients with statistics, add a job to your crontab to parse the file mail.php3: 59 23 * * * fetch -o - http://www.profi.it/phpAds/mail.php3>>/var/log/messages The example uses fetch, you can also use wget or lynx -dump. Installation notes: + PHP must be configured to have magic_quotes_gpc=on and magic_quotes_runtime=off. In the module version of PHP3 this can also be set on a per-directory base with php3_magic_quotes_gpc on in an .htaccess file or in your Apache's access.conf. + If you've the module version of PHP3, your .htaccess could look like this: php3_magic_quotes_runtime off php3_magic_quotes_gpc on + Keep in mind that in the current version you have to include the files "config.inc.php3", "view.inc.php2" and "acl.inc.php3" on every page you want to have a banner.