note 102536 rejected from function.substr by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Feb 2011 02:36:20 +0000 |
| Subject: | note 102536 rejected from function.substr by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177150@lists.php.net to get a copy of this message | ||
Note Submitter: brianjoe at live dot dk
----
Hi, I want to grab some content from my site to another site in that way your do with the numbers.
Is that possible?
If so, how can this be done?:
$source = file_get_contents("http://www.test.com");
And get the content between fx <div class="sidebar">(GRAB THIS)</div>