file_get_contents

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amax2222
Forum Newbie
Posts: 1
Joined: Sat Mar 05, 2011 12:13 pm

file_get_contents

Post 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.
Post Reply