View Single Post
Old 03-25-2003, 04:20 PM  
AkiraSS
Confirmed User
 
Join Date: Jan 2003
Location: ICQ: 17630227
Posts: 2,988
Php programmers - Regarding a php redirect script, can you help me make adjustments?

Hi, I would like to ask for free help from any expert out there. I have a gallery submitted that uses links with php redirect way.

EG my sponsor code on the gallery is in the format

"redirect.php?id=XXX"


Here is the source code of the PHP file

<?php
switch($HTTP_GET_VARS["id"]){
case 0: $url = "http://www.sponsor1.com/"; break;
case 1: $url = "http://www.sponsor1.com/"; break;
case 2: $url = "http://www.sponsor1.com/"; break;
}
header("Location: $url");
?>


What I want is, when ever a surfer follows a

"redirect.php?id=1" another link to open for him too, like a blur window or pop under?


Any way I can achieve this?


Thanks up front
AkiraSS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote