how to check data post from input box is URL or not Using PHP?
<p>I want to check if the data input from input box is url or not using PHP in Codeigniter.
How to check data?.Plz help 
Its Urgent??</p>

<p>For example:</p>

<pre><code>$data= "test";
</code></pre>

<p>i want to check if that data is url or not using php??</p>
