ItSolutionStuff.com have tutorials for FILTER_VALIDATE_URL tag, here you can study articles of FILTER_VALIDATE_URL tag, FILTER_VALIDATE_URL tag posts collection, most popular and useful tutorials of FILTER_VALIDATE_URL tag, here you can find list of all relevant posts and example about FILTER_VALIDATE_URL tag, we have lists of tutorials and examples about FILTER_VALIDATE_URL tag. very simple and quick example collection of Latest FILTER_VALIDATE_URL tag.

How to check if string is URL or not in PHP?

Sometimes, we require to check the given argument or string is URL or not, as specially i did need to check image column is url or not like i give you example how to do this. If you also need to do this then you can use filter_var(). <strong>Example:</strong> <pre class="prettyprint lang-php"> if(filter_var($imagePath, FILTER_VALIDATE_URL) === FALSE){ print_r("Not valide URL"); }else{ print_r("valide URL"); } </pre>

By Hardik Savani | April 18, 2016 | | 21560 Viewer | Category : PHP