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.
file_get_contents
Moderator: General Moderators
-
litebearer
- Forum Contributor
- Posts: 194
- Joined: Sat Mar 27, 2004 5:54 am