NYCPHP Meetup

NYPHP.org

[nycphp-talk] fetch page script

joshmccormack at travelersdiary.com joshmccormack at travelersdiary.com
Wed Jan 29 14:22:04 EST 2003


You could try to figure out copy(), which didn't work too well for me, or use fopen() and fwrite()

Josh

On Wed, 29 Jan 2003, Carlos A Hoyos wrote:

> 
> 
> 
> 
> Hi,
> I need to write a function that given a URL, will open it and "rip it" to
> my local server, (i.e. save the page's code to a specific directory, queue
> all of the page's assets -images, css, js, etc- save them to that directory
> as well and fix all paths to make it available for local browsing).
> 
> Not really a big one, but if somebody already knows about a script that
> does this, I wouldn't mind the head start.
> 
> Lastly, it was great to have meet some of you last night... great meeting.
> 
> Carlos
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 




More information about the talk mailing list