 |
 |
Download a site.
|
 |
|
 |
|
Forum Regular
Join Date: Dec 2002
Status:
Offline
|
|
Hi, can anyone point me in how to save a php site ?
I need it with images and all, is there any soft or trick to do it ?
Thx.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status:
Offline
|
|
Originally posted by Zitax:
Hi, can anyone point me in how to save a php site ?
I need it with images and all, is there any soft or trick to do it ?
Thx.
If you're trying to grab the data from a browser you're out of luck, as you'll only get the output of the php scripts, not the script itself.
If that's all you want, then use the command line tool WGET. There's your 'man' page that describes it fully, but here's a good shortcut I googled:-
wget --mirror -w 2 -p --html-extension --convert-links -P ~/Desktop/http://www.yoursite.com/
It'll download the entire site - links and all - and rename all files and convert request strings into static HTML pages. Nice tool!
|
|
Computer thez nohhh...
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Dec 2002
Status:
Offline
|
|
Originally posted by Simon Mundy:
If you're trying to grab the data from a browser you're out of luck, as you'll only get the output of the php scripts, not the script itself.
If that's all you want, then use the command line tool WGET. There's your 'man' page that describes it fully, but here's a good shortcut I googled:-
wget --mirror -w 2 -p --html-extension --convert-links -P ~/Desktop/http://www.yoursite.com/
It'll download the entire site - links and all - and rename all files and convert request strings into static HTML pages. Nice tool!
Hi, that comand should be entirely in the terminal ?
Cause I get command not found, sorry but I am not that good in terminal and unix commands, can I just paste it as it is ?
Thx.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status:
Offline
|
|
Unfortunately, wget doesn't come bundled with OS X so you'll have to download it. Here's the link: http://www.gnu.org/software/wget/wget.html
But that's only helpful if you have the developer tools installed so you can make use of GCC and make... If not, you can download fink (sorry phil!) and install a binary. Or get on google and search for one, incase someone has made one available without the need for fink.
Alternatively, you could use curl which does come bundled with OS X (although, I don't think it'll do quite what simon suggested, but I don't know). Open up terminal and `man curl'
As usual, I may be giving you duff gen, but I think I'm right...
|
|
Just who are Britain? What do they? Who is them? And why?
Formerly Black Book
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by Black Book:
But that's only helpful if you have the developer tools installed so you can make use of GCC and make... If not, you can download fink (sorry phil!) and install a binary. Or get on google and search for one, incase someone has made one available without the need for fink.
left it on my iDisk for you 
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: the intarweb
Status:
Offline
|
|
webgrabber is quite a handy wee utility - and no terminal bollox required!
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|