hi all…
i have a form where users enters web addresses in a text box…
and now i wont to validate that whether users entered a valid url or not…
how can i do this in javascript or with php…
pls help me
hi all…
i have a form where users enters web addresses in a text box…
and now i wont to validate that whether users entered a valid url or not…
how can i do this in javascript or with php…
pls help me
To validate BEFORE submission, you have to use Javascript since PHP is “Server Side.” You can however validate “AFTER” Submission with PHP. Of course if it’s determined to be Invalid, you will have to present it back to the user for correction. This may not be the most efficient way to do it.