Posts by M Malik • 1 point
1 post
-
-2
votes1
answer156
viewsQ: Validate PHP URL for sending to Database
Guys I have this code that does the processing, however I wanted to add a url validator, I tried to insert if ( ( ! isset( $site ) || ! filter_var( $site, FILTER_VALIDATE_URL ) ) && !$erro )…