Based on the GET_VARS you can identify the image and do some 
mapping stuffs to get the sitename. Then you can construct your header
accordingly with 'Location:' parameter to view that site.


On Fri, 1 Feb 2002, Lazor, Ed wrote:

> I'm trying to understand how this banner exchange works and whether it can
> be done in PHP.  Here's the HTML you put on your web page:
> 
> <a
> href="http://rpgx.rpgconsortium.com/xchange/engage.cgi?advert=NonSSI&page=XX
> "><img
> src="http://rpgx.rpgconsortium.com/xchange/engage.cgi?id=atfantasy&page=01";
> border="0" width="468" height="60"></a>
> 
> 
> It...
> - displays a random banner image
> - takes you to the site relating to the displayed image
> 
> How does it do that?  Any ideas on how to do this in PHP?
> 
> -Ed
> 
>  
> ****************************************************************************
> This message is intended for the sole use of the individual and entity to
> whom it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law.  If you are
> not the intended addressee, nor authorized to receive for the intended
> addressee, you are hereby notified that you may not use, copy, disclose or
> distribute to anyone the message or any information contained in the
> message.  If you have received this message in error, please immediately
> advise the sender by reply email and delete the message.  Thank you very
> much.                                                                       
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

S.Murali Krishna
[EMAIL PROTECTED]  
===================================== 
We grow slow trying to be great
                                                                
                   - E. Stanley Jones
-------------------------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to