| <?php |
| $companyArray = array( "BEA" => "http://www.bea.com/callisto/eclipse.html", |
| "Innoopract" => "http://yoxos.com/ondemand/", |
| "NexB" => "http://easyeclipse.org/site/home/callisto.html", |
| "WWIM" => "http://www.weiglewilczek.com/callisto", |
| "IBM" => "http://www.ibm.com/developerworks/eclipse/downloads/", |
| "ACT" => "http://download.actuatechina.com/callisto/", |
| "ROW" => "http://rowebots.com/opensource/eclipse_downloads/" |
| |
| ); |
| $companyName = $_GET['A']; |
| $url = $companyArray[$companyName]; |
| if ($companyName != "" & $url != "") |
| { |
| header( "HTTP/1.1 301 Moved Permanently" ); |
| header( "Status: 301 Moved Permanently" ); |
| header( "Location: ". $url ); |
| exit(0); // This is Optional but suggested, to avoid any accidental output |
| } |
| else |
| { |
| header( "HTTP/1.1 301 Moved Permanently" ); |
| header( "Status: 301 Moved Permanently" ); |
| header( "Location: /callisto/downloads.php"); |
| exit(0); // This is Optional but suggested, to avoid any accidental output |
| } |
| |
| ?> |
| |