I need to pass a url to a php page. the url may or may not contain special characters and encoded variables. for example consider the ajax request.
var url = 'http://siteaddr.com/abc%20cdf%202012%20movies%20software/';
$.get('check_link.php',{url:url},function(){
//some function
});
the echo result of variable $_GET['url']
in the php page is http://siteaddr.com/abc cdf 2012 movies software/
the %20's are converted into spaces. I need to receive the url as it is.
tried encoding and decoding the url. but I didn't got the result as i need.