"Else" Get Triggered Wrongfully!

most simply done using filters, since there is only one value in the form:

// returns FALSE if it's neither set nor an URL
$url = filter_input(INPUT_GET, 'url_to_proxify', FILTER_VALIDATE_URL);
3 Likes