note 102536 added to function.substr

From: Date: Sun, 20 Feb 2011 01:35:47 +0000
Subject: note 102536 added to function.substr
Groups: php.notes 
Request: Send a blank email to php-notes+get-177149@lists.php.net to get a copy of this message
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> ---- Server IP: 69.147.83.197 Probable Submitter: 85.233.242.54 ---- Manual Page -- http://www.php.net/manual/en/function.substr.php Edit -- https://master.php.net/note/edit/102536 Del: integrated -- https://master.php.net/note/delete/102536/integrated Del: useless -- https://master.php.net/note/delete/102536/useless Del: bad code -- https://master.php.net/note/delete/102536/bad+code Del: spam -- https://master.php.net/note/delete/102536/spam Del: non-english -- https://master.php.net/note/delete/102536/non-english Del: in docs -- https://master.php.net/note/delete/102536/in+docs Del: other reasons-- https://master.php.net/note/delete/102536 Reject -- https://master.php.net/note/reject/102536 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177149) next »