• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
passing a url in the url

#1
[eluser]deadelvis[/eluser]
Hi
I'm trying to write a generic redirect function on my main controller. What is the best way to pass a url in the url?

Generating links with format (url encoded url)...
Code:
<a href"http://mysite.com/redirect/http(%)3A(%)2F(%)2Fothersite.com(%)2Fsomepage.php">


... leads to "Page not found" error, due to the (%)2F in the string being interpreted as /.

Any ideas on how to do this easily?

PS: Percentage sign % substituted by (%) for display reasons


Messages In This Thread
passing a url in the url - by El Forum - 06-16-2008, 04:46 PM
passing a url in the url - by El Forum - 06-16-2008, 07:27 PM
passing a url in the url - by El Forum - 10-06-2008, 01:45 PM
passing a url in the url - by El Forum - 10-06-2008, 05:29 PM
passing a url in the url - by El Forum - 10-07-2008, 12:08 AM
passing a url in the url - by El Forum - 10-07-2008, 09:35 AM
passing a url in the url - by El Forum - 10-07-2008, 02:14 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.