file_get_contents
Posted: Sat Mar 05, 2011 12:24 pm
basically i want to get certain contents from an external web page and use some of the content as a variable.
Here is my example.
I want to retrieve the URL of http://example.com below which is on an external web page and use it as a variable.
This is the div on the external page
<div id="1"><ul><li><span><a href="http://example.com"></a></span></li></ul></div>
Any assistance is appreciated.
Here is my example.
I want to retrieve the URL of http://example.com below which is on an external web page and use it as a variable.
This is the div on the external page
<div id="1"><ul><li><span><a href="http://example.com"></a></span></li></ul></div>
Any assistance is appreciated.