Saving webpage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

Saving webpage

Post by jaymoore_299 »

What's a quick way to save a webpage without using file_get_contents (function not available to me at my server)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Alternatives i can think of:

- fopen and fgets (I still have to figure out why with safe_mode=on it's allowed to use this with http wrappers and file_get_contents is not allowed)

- curl
Post Reply