[Solved] PHP/MySQL website on CD?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

shazam-fu
Forum Newbie
Posts: 8
Joined: Mon Feb 23, 2004 1:22 pm

[Solved] PHP/MySQL website on CD?

Post 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?
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post 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.
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post by Illusionist »

why do you keep asking the same question over and over again??
magicrobotmonkey
Forum Regular
Posts: 888
Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA

Post 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
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post 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
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post by Illusionist »

lol, yeah its like the 5 or 6th time ive seen it
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post 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.
jollyjumper
Forum Contributor
Posts: 107
Joined: Sat Jan 25, 2003 11:03 am

Post 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.
shazam-fu
Forum Newbie
Posts: 8
Joined: Mon Feb 23, 2004 1:22 pm

thanks

Post 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: )
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Glad you found your way. 8)
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post 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?
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post 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
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post by Illusionist »

so
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post 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
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post 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?
Post Reply