Click here to Skip to main content
15,915,611 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do I create a php which redirects with use of the url. I.e. - Redirect-To.com/Change.php?=Google.com Then goes to google etc

I'm wanting to create a php page where a user goes to

Redirect-To.com/Change.php?=Google.com
or
Redirect-To.com/Change.php?=Youtube.com
or
Redirect-To.com/Change.php?=Yahoo.com

Then the visited page redirects to Google or whatever page is after ?=

Any help would be fantastic :-)
Posted
Comments
TryAndSucceed 13-Aug-13 12:45pm    
Why do you want to do that? Why don't you redirect it directly?
ZurdoDev 13-Aug-13 12:58pm    
So, where are you stuck?
Mohibur Rashid 13-Aug-13 22:42pm    
What did you try?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900