Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

PHP Banner program

Quote Reply
PHP Banner program
I just recently have started to test a PHP/MySQL based banner program that has been written very well. The name of the program is dotbanner (www.dot-banner.com). The code I need to put into the template is as follows:
<script language="php">
$dotBanner_file_directory = "/www/your/banner/directory/";
include("$dotBanner_file_directory" . "ads-print.php");
</script>

Now, is there anything special regarding the name of the actual .html templates or configuration settings that need to be corrected before this PHP script would work? I did a search and read back in Februrary about this type of issue but was never fully disclosed to the status. So, looking for a little help here.


Thanks,

Sean Mott
http://www.weathertalk.net
Internet's best weather search engine
Quote Reply
Re: PHP Banner program In reply to
Michael Bray may be able to assist you...since he uses PHP in his site with Links SQL.

Regards,

Eliot Lee

Quote Reply
Re: PHP Banner program In reply to
Hi Sean,

I use PHP on my site.. all you have to do for the generated HTML pages is change the extension to .php, .php3 etc depending on what you want to use. You can do set this in the Links.pm file.

Good luck!

Katina

Quote Reply
Re: PHP Banner program In reply to
Yes...but pugdog noted some difficulties with maintaining the dynamic mode with PHP. Also he mentioned that there are some problems with parsing data through the cgi scripts. I don't know if you have experienced these problems or not.

Regards,

Eliot Lee

Quote Reply
Re: PHP Banner program In reply to
Hi Eliot,

Yes, PHP can create problems in the cgi scripts.. In my directory, I only use PHP to include common files (header, footer, etc.). So it worked out fine in that respect. :)

Katina