Page 1 of 2

[Solved] PHP/MySQL website on CD?

Posted: Mon Mar 22, 2004 2:27 pm
by shazam-fu
Does anyone know a way to put a PHP/MySQL website on a CD-ROM so that you can browse it as if you were looking at the site online?

Posted: Mon Mar 22, 2004 2:29 pm
by tim
someone may correct me if i'm wrong.

but... you need to download and install php / MySQL to view them on your computer.

Posted: Mon Mar 22, 2004 2:33 pm
by Illusionist
why do you keep asking the same question over and over again??

Posted: Mon Mar 22, 2004 2:33 pm
by magicrobotmonkey
If you wanted it interactive you would have to install a webserver with PHP and mySQL on each computer that wanted to browse it. But if you just want a snapshot, then save the HTML- the webpages that result when your php is run - along with all the file structure and supporting docs, such as images and such. But then you'll have to do a lot of work renaming links and such and you won't really ba able to do any variable passing. So, uhh, pretty much, good luck

Posted: Mon Mar 22, 2004 2:35 pm
by tim
Illusionist wrote:why do you keep asking the same question over and over again??
yeah i swore I seen this topic before. thought i was losing my head

Posted: Mon Mar 22, 2004 2:39 pm
by Illusionist
lol, yeah its like the 5 or 6th time ive seen it

Posted: Mon Mar 22, 2004 2:58 pm
by m3mn0n
shazam-fu wrote:Does anyone know a way to put a PHP/MySQL website on a CD-ROM so that you can browse it as if you were looking at the site online?
PHP/MySQL currently does not have any method of being used exclusively on CD-ROM. You can, however, build a site and simply link just sections of it to online PHP scripts.
Illusionist wrote:why do you keep asking the same question over and over again??
He/she only has 3 posts (as of now), and this the first/only time asking this.

Now others have asked this before, but not shazam-fu in particular.

Posted: Mon Mar 22, 2004 2:58 pm
by jollyjumper
Try a programme like webreaper(freeware) or teleport pro(shareware).

I believe you can download them at http://www.download.com

These programmes download your php/mysql site and converts it to a local browsable static html site.

Just beware that javascript support is not great, so if you use a lot of javascript, it may fail.

Hope this is an answer to your question, and you may want to stop asking it, as it seems to annoy people.

Greetz Jolly.

thanks

Posted: Mon Mar 22, 2004 3:05 pm
by shazam-fu
Thanks for the info. I didn't really think there was a way but I thought it was worth a shot to ask. (And yes, I've only asked once. :wink: )

Posted: Mon Mar 22, 2004 3:16 pm
by m3mn0n
Glad you found your way. 8)

Posted: Mon Mar 22, 2004 3:21 pm
by Illusionist
why not put a link tot he site on the Cd along with an Autorun file to open the url when the cd is played?

Posted: Mon Mar 22, 2004 3:22 pm
by Draco_03
he might not have a server or a nice domain name. so having http://www.coolsites.freakshow.com/mype ... /index.php
might not look professional :P

Posted: Mon Mar 22, 2004 3:25 pm
by Illusionist
so

Posted: Mon Mar 22, 2004 3:30 pm
by Draco_03
so thats why you don t want to link it.. if its for a professional purpose like showing something to client 8)

you don't want them to know you can t afford 6$ month for a web server!!
:P
Or even it s on a laptop... and he won't have a connection to internet available.. who knows...basically they might have billion of reason

Posted: Mon Mar 22, 2004 6:38 pm
by Illusionist
If its for professional reason, then 1) if your goign to have a website, do it right. And don't be cheap! 2) 2?