Page 1 of 1

file_get_contents

Posted: Sat Mar 05, 2011 12:24 pm
by amax2222
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.

Re: file_get_contents

Posted: Sat Mar 05, 2011 10:10 pm
by litebearer