Posted by Oli Filth on 05/27/05 03:01
gcook said the following on 26/05/2005 20:53:
> I'm trying to get a rough idea of bandwidth before I embark on a
> project. Developing a program to scrape web pages and scan them for code
> (it's all legit) like links and text.
>
> When php grabs a page over the web, does it automatically get/request
> all the images, css, and related files? i.e. can it just grab html and
> not incur the bandwidth for the images?
Depends how you do it. If you get PHP to only request the HTML file,
then that's all you'll get. You'll only incur the bandwidth for image
and CSS files if you specifically request them (assuming you're using
something like cURL).
--
Oli
[Back to original message]
|