[nycphp-talk] fetch page script
Jeffrey Konikowski
jkonikowski at nyc.rr.com
Wed Jan 29 14:27:16 EST 2003
I don't have a script, but start with http://www.php.net/manual/en/function.fsockopen.php and you can have a quick and dirty page grab function going in no time.
-----Original Message-----
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