View Full Version : Copy a website to CD
Candrias77
10-01-2002, 04:18 PM
I have an interesting one.
I am wanting to copy an entire website to cd. This seems easy enough, however, i have php in the pages!
There is no database integration but what do you think is the easiest way to convert a website to cd without hard coding all the php? Is there software around for this kind of thing?
Cheers, look forward to your thoughts.
whackaxe
10-01-2002, 05:28 PM
what will you be doing with the CD after? you coulsd install PHPDEV or something like that to get it to show up
Candrias77
10-01-2002, 11:11 PM
The CD will just be to hand to clients to show them the website offline. Clients often need to look at the data when on a job site or out of town and can't access the internet.
So i could go through and hard code all of the php pages but it would just take a while. I was kind of hoping there was some software around that could scan a site and convert it all to html and chuch it in a dir ready for me to put on CD. Wishful thinking i guess ;)
joh6nn
10-02-2002, 12:55 AM
maybe i'm crazy, but when you view source on a php page in your browser, don't you see the processed html, instead of the php source? you don't have to go through and hard code; you just have to look at the pages in your browser, and save them. sure, that'll take a while, but not nearly as long as recoding the php.
i'm sure there's a better way to make this work, but at the moment, i can't think of any.
Nightfire
10-02-2002, 01:12 AM
I tried to find a way about this too, but never found out how to do it. Tried to get a databased site to work off my cd with phpdev on the cd, but it never worked. Guess it's coz it needs access to write to the log files?
joh6nn
10-02-2002, 01:27 AM
couldn't you just tell phpdev to write the log files to c:\windows\temp ? 'cause i'm guessing that it wouldn't need to read from those files ever again, right? running something off the cd, it would be running for the first time, every time, so you'd never need to read from any log files that got written. if you just set the copy of phpdev you put on the cd to write the logs to a temp folder, no problem.
unless there's something more to it, which wouldn't at all surprise me.
first put your homepage in your favourites (in IE), then
[favourites][organize favs] and navigate the listings til you get to your homepage.
Check [o]_make available offline] and then the [properties] button that appears.
On the new window, use the /download\ tab and then configure the options (such as dl XX links deep from this page (enough links deep to cover your full site) and max diskspace usage)
Download to a nice new folder on your HD and view it locally before burning to disk.
TheTree
10-03-2002, 08:24 PM
Hi-----I'm new-----so, please forgive me if I don't know a thing about what I'm about t'say......
I don't think ANY of these suggestions will work!! For instance, the suggestion about using a browser.....
"whomever" was saying that he/she needed to be able to make the pages available OFF-line-----that their clients may not always have access to the Internet!!
In regard to "save page as"-----and then selecting how many pages deep, etc------will NOT----to MY knowledge (remember, it's extremely limited)------save graphics......
one could save their pages to their D drive (or whatever drive on which your CD resides), by copying and pasting them in notepad, with a .html extension (even WITH PHP, in the coding), and they could be easily burned/viewed from the CD------BUT------WITHOUT graphics!! There would, instead, appear all those little "X" boxes......
Now------after all that blabbering------I don't have a suggestion as to how to accomplish this, either!!!
Sorry.....
What "I" did, to make my pages so that I could show them to clients, was to PRINT each page------"threw" 'em in a nice leather portfolio-----with those plastic page protectors-------and, "Voila"-----a presentation, for my clients!!
Good Luck!!!
joh6nn
10-04-2002, 01:00 AM
i think Okii's suggestion is probably likely to be the most effective. i'd like to hear about whether or not setting log files to be written to c:\windows\temp would work, though, if anyone knows.
Candrias77
10-04-2002, 01:36 AM
Hi all, thanks for your suggestions.
In the end i did use Okii and Joh9nn's method - saved the files from Internet Explorer. IE put all the image files into different folders but i used Dreamweaver to move the files into my standard images folder (DW keeps track of links and updates them automatically when files are moved).
It didn't take too long i guess but was quite a hastle.
I think running php off the cd would be a great idea but it was just taking me too long to get it sorted out right! And ofcourse then you would have to consider having a Mac version of all the server software as a lot of my client's clients use Macs!
Thanks again.
-C
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.