Location: PHPKode > projects > CJ Ad Rotator > README - Installation Guide.txt
CJ Ad Rotator V1.0  -  James Crooke © 2002 - hide@address.com
============================================================


Files Just Downloaded
~~~~~~~~~~~~~

The contents of "CJ Ad Rotator.zip" ........

1.	adrotate.php
2.	displayad.inc
3.	linkcode.inc
4.	Example Include.php
5.	Readme.txt
6.	Copying.txt (GPL)
7.	and just incase you forgot where it came from.... an Internet Shortcut  :D

Files Required
~~~~~~~~

1.	adrotate.php  (comes within zip file)
2.	displayad.inc  (comes within zip file)
3.	linkcode.inc  (comes within zip file)
4.	A php page to display the adrotate.php
	
	» note:  the page must be renamed to something.php for this counter to work, to do this open the file in 	
	» notepad and save it as "whatever.php" (some servers require .php3 or .php4 extensions)

Installation Help
~~~~~~~~~~

please note » additional help is included in the editable files.

1.  	Open up linkcode.inc and replace what is in there with as many links as you like, remember to save them in the format:

	<a href="http://www.advertising.com/link0001"><img src="http://www.advertising.com/image00001.jpg"></a>
	<a href="http://www.advertising.com/link0002"><img src="http://www.advertising.com/image00002.jpg"></a>
	etc...

2.  	Open up adrotate.php an edit the variables if you want to:

	$directory = "/enter/your/website/root/";								//  Webserver path to your adrotator files
	$linkfile = "linkcode.inc";										//  The Link Code file
	$adcountfile = "displayad.inc";									//  The Ad Display file
	$pos = "left";												//  Postion of banner tag (left, center or right)
	$help_msg = "no";											//  Display a "Help Message" - "Yes" to enable!
	$help_message = "Please support this site by clicking on the banner below";		//  Enter "Help Message" here

3.	Add the following code to within your webpage where you want the banner adverts to appear (see Example Include)

	<? include("adrotate.php"); ?>

	Note: if you have put the files in a seperate folder you will need to link to them eg.  <? include("ads/adrotate.php"); ?>

4.	Upload the files:  adrotate.php, linkcode.inc, displayad.inc (to a suitable directory) and your webpage.php	

5.	CHMOD the file displayad.inc to 777

6.	Surf to your webpage and a banner should be displayed that changes when you click refresh (if you have more than one banner in linkcode.inc!)

7.	Note: Because you declared the server path to your files, you can insert the banner ads on any page.  Just remember to <? include ?> the correct file!

Thats All!
~~~~~~

Thank you for downloading this script, I hope you like it - feedback would be appreciated
(nothing to harsh please) at the CJ Forums! - http://www.cj-design.com/?id=forum

*********************************************************************************
* Please, Please, Please help keep Cj-Design.com alive by visiting our Donate page (if you havent already)	*
* It is COMPLETELY FREE to support us, all you need to do is sign up to Ebay for FREE!				*
* @ http://www.cj-design.com/?id=donate									*
*																		*
*********************************************************************************

All other donations are welcome of course.

If you need any help with this script, try going to the FAQ's page on the website:
http://www.cj-design.com/index.php?id=downloads&faq=6 : )

James - CJ Web Designer

==========================================================================
Return current item: CJ Ad Rotator