Banners 1.0.6: User documentation | ||
---|---|---|
<<< Previous | Next >>> |
A file require is used to display the banner under IE and Netscape with the help of the above-described algorithm.
The code you have to write into your pages to create a position for a banner is:
**At the beginning of your .php pages:
<?php // Copyright (c) Interakt Online 2001 // http://www.interakt.ro/ require("./adodb/adodb.inc.php"); require("./Connections/test.php"); ?> |
NOTE
Please replace the "./" with the relative path to the root of your web site.
Please replace the "test" to the name of your connection.
In the desired location for your banner(s):
<?php $banners = @$test; $KT_position = 1; require ADODB_DIR."/../banners/includes/banners.php"; ?> |
NOTE
Please replace the "test" to the name of your connection
Please load the "KT_position" variable with the banner's position on the page.
If you are using the Ultradev environment for developing PHP sites, please install the banners-1.0.6.mxp that comes with the banners distribution and you'll get a Server Behavior that will add the banner code (both the connection include and the banner include) automatically.
<<< Previous | Home | Next >>> |
Installation | Application Part |