Install phpTrafficA v-1.0.4

To install phpTrafficA, you will need:

First, you'll have to install ip2c, a script that determines to which country an IP address belongs:

  1. Download this archive.
  2. Open the archive, you'll have a directory called Ip2c/ with all you need.
  3. Transfer the whole Ip2c/ folder to your server.

Once you installed ip2c, open the phpTrafficA archive. It consists of

To install:

  1. Create a folder for phpTrafficA on your server (YOUR_FOLDER),
  2. Make sure that the PHP scripts have write access to this folder (this can be done with your ftp program)
  3. modify Php/config_sql.php with your login, password and base name for mySQL server connection,
  4. modify Php/config.php with
    • the correct path to the Ip2c folder relative to YOUR_FOLDER/
    • the correct path to the folder with country flags relative to YOUR_FOLDER/
    • the extension of your country flags images (png, gif...)
  5. transfer the content of the Php folder to the server, in the folder you created
  6. edit variable $path in the file count.php, with the path from you home directory to the folder YOUR_FOLDER
  7. transfer the file count.php to your home directory,
  8. open the file YOUR_FOLDER/install.php in a web-browser and follow the instructions,
  9. secure YOUR_FOLDER with a .htaccess or something similar.
For usage notes: move on the the usage section...

Additional configuration:

  1. If you already have ip2c and did not install the version provided here, transfer the file funcIp2c.php to the Ip2c folder on the server.
For usage notes: move on the the usage section...
Maintained by ZoneO-soft