Banner rotation problem!

From: Date: Sat, 25 Nov 2000 13:51:36 +0000
Subject: Banner rotation problem!
Groups: php.general 
Request: Send a blank email to php-general+get-27151@lists.php.net to get a copy of this message
Hi list! I trying to do a banner rotation script, it something like this: >banner.php: <? header ("Location: banner.jpg"); /* In this example is just one file, but will have a code to generate always a diferent file for show... */ ?> Ok, in a common page if i put a tag: <img src="banner.php"> it will show the file, but the problem is if i have 3 files with the respective website to go, for example: one.jpg -> http://www.one.com two.jpg -> http://www.two.com three.jpg -> http://www.three.com What i put in <a href=??? How can i make the link to a script for it redirectly to the respective page?? Sorry for bad english and thankz for attention! Samuel Abreu mouse@baydenet.com.br

« previous php.general (#27151) next »