Welcome Guest, Not a member yet? Register   Sign In
URLs as parameters
#4

[eluser]ejangi[/eluser]
You could also urlencode() the URL:
Code:
$my_link = 'bookmark/add/'.urlencode('http://www.example.com/somepage.html');
// Which will give you:
// bookmark/add/http://www.example.com/somepage.html


Messages In This Thread
URLs as parameters - by El Forum - 12-09-2007, 03:00 PM
URLs as parameters - by El Forum - 12-09-2007, 03:13 PM
URLs as parameters - by El Forum - 12-09-2007, 03:21 PM
URLs as parameters - by El Forum - 12-09-2007, 04:07 PM
URLs as parameters - by El Forum - 12-09-2007, 04:13 PM
URLs as parameters - by El Forum - 12-10-2007, 03:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB