TH-Rotating Banner Ad Script

To install TH-Rotating Banner Ad on your website follow the steps below.

  1. Unzip all of the files in this zip to a location on your computer where you can find them . ie your desktop.
  2. If you don't already have a database on your server you will need set on up. Log into your hosting account control panel and set one up. You only need to set up a mysql database, there is no need to add a table to it, the install script will create the table for you.
  3. Open the config.php file in a text editor and make the necessary changes. Change your_password to the password for your database, change user to the username of your database and change database_name to the name of your database. Note: Normally localhost will work for the name of your host, but you may have to change it to your host name depending on your hosting company.
  4. Upload the config.php, ran.php, and the ban_install.php files to your sever. Be sure to upload them in ASCII format. Make sure to put the three files in the same folder together.
  5. Open your browser and call up the ban_install.php script. ie http://www.your_domain.com/ban_install.php. This will bring up the admin panel in your browser.
  6. Click the install button to create the table on your database.
  7. The script is now setup and ready to use. To add banners to your database, simply enter the address to the banner image and the address the banner will link to and click the insert_ban button.
  8. To add the banners to your pages, place this code into your html of the pages where you want the banner to appear. Note: the pages you add the code to will need to be named with the .php extension.
Copy and paste the following link to download:

http://www.fileshare.ro/3694045058