phpPgAds - Installation

  Quick Install :
    [1] Untar the distribution (be sure to untar the subdirectories)
        tar xvf phpPgAds_x.x.x.tar
    [2] Open the file config.inc.php in your favourite editor and change
        the values to fit your environment.
    [3] Create the database you'll use for phpPgAds (default name:
        "phpads"). Within this database, create the required tables as
        provided in all.sql. You can use the psql-client for this:
        psql <db-name> < all.sql
        or you can use phpPgAdmin <http://www.greatbridgeorg/project/phppgadmin>
	to read in the dump.
    [4] Point your browser to 
        <www.your-host.com>/<your-install-dir>/admin/index.php
        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.php:
        59 23 * * * fetch -o - http://www.profi.it/phpPgAds/mail.php>>/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 PHP4 this can also be set
    on a per-directory base with "php_value magic_quotes_gpc on" in an .htaccess file 
    or in your Apache's access.conf.
  + If you have the module version of PHP, your .htaccess could look like this:
    php_value magic_quotes_runtime off
    php_value magic_quotes_gpc on
  + Keep in mind that in the current version you have to include the files 
    "config.inc.php", "view.inc.php" and "acl.inc.php" on every page you
    want to have a banner.
    
