You are here: Re: scraping website w/o images « All PHP « IT news, forums, messages
Re: scraping website w/o images

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация