When I run
if (filter_var($_GET['abc'], FILTER_VALIDATE_URL)) { ... }
and I don't give a ?abc=
extension to my .php
then I get notice:
Notice: Undefined index: abc in line...
Is there a way to bypass this notice and say if $_GET
exists and then is abc
then...
Thanks a lot