el_mariachi Posted March 17, 2008 Share Posted March 17, 2008 Hello, For my webapp I'm parsing data from a profile site. For this I use Zend_Http_Client. $client = new Zend_Http_Client('http://johnsmith.profile.site.com'); $body = $client->request()->getBody(); After this I only need some textual information from the body. The problem is that the request will load the whole site first (including images) before I can do anything with it. This makes the whole process slow. Is there a way to make text-only requests? Quote Link to comment Share on other sites More sharing options...
trq Posted March 17, 2008 Share Posted March 17, 2008 <?php $body = file_get_contents('http://johnsmith.profile.site.com'); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.