02-01-2008, 10:55 PM
|
#4 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Quote:
Originally Posted by wGEric
Why would you want to do that? Trying to hide something?
|
Erh, yes.. any problems?
Quote:
Originally Posted by Alan @ CIT
I'm sure it can be done in Javascript but I've no idea how, I'm sure someone has though.
I have done a similar system in PHP before though, we had a simple database:
Code:
1:citalan.blogspot.com
2:www.talkphp.com
Then a simple PHP script that took a link such as:
Code:
http://www.mysite.com/go.php?link=2
Our go.php script then looked up $_GET['link'] in the little database and used header() to redirect to the requested site.
Alan
|
Yea I thought of that too, but I just hoped there was an easier way xDD
Thanks
|
|
|
|