I\'m trying to pass a URL as a url parameter in php but when I try to get this parameter I get nothing
I\'m using the following url form:
http://loc
To make sure you're always on the safe side, without getting all kinds of unwanted code insertion use FILTERS:
echo filter_input(INPUT_GET,"link",FILTER_SANITIZE_STRING);
More reading on php.net function filter_input, or check out the description of the different filters