Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

website url validation using php

      
            
                
            
 run  | edit  | history  | help 0

<?php //php 7.0.8 $website = 'www.123.com'; $a= preg_match("/\b(?:(?:https?|ftp):\/\/|www.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i",$website); echo $a; ?>

  by  mseenug@123, 1 months ago




Please log in to post a comment.
q
mmd