[nycphp-talk] fetch page script
gadhra
bfeqx44002 at sneakemail.com
Wed Jan 29 14:37:16 EST 2003
I don't know if this is the type of function you migh be looking for,
either, but the PHP cURL stuff is pretty sweet (check
http://www.php.net/manual/en/ref.curl.php). You might be able to
leverage this with some clever use of the string functions once you get
the data to your script.
Carlos A Hoyos cahoyos-at-us.ibm.com |NY PHP| 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/ ---
>
>
>
>
>
>
>
--
+gadhra+(/s)
*********************
And seize the metropolis;
It's you it's built on
More information about the talk
mailing list