For this to work you would have to have a web server (Apache?) with PHP compiled in and mysql all installed on the target machine. I'm guessing the answer is no here. HOWEVER. Not knowing your exact requirements I'm going to blindly give advice here.
Do you really need a database and a scripting language for a static site? yes, I know right now that's the way it's built but the main reason you have a database behind a site is because the data will change. If the data is not going to change (you ARE burning it onto a CD, right?) then I would re-examine my structure. If you goal is to provide the existing site on a CD then I would suggest investing about an hour over at www.freshmeat.net. I bet that you could find a 'bot' that will spider your existing website and create an 'off-line' version complete with URL's that point to the off-line version and all graphics. If this magical bot (and I know they exist but I'm not going to spend the time looking for one for you) spiders ALL your pages then, unless you have something like an integrated search engine, you should be able to burn the off-line content to a CD. Add an autorun.inf and anyone dumb enough to leave autorun turned on will see the site whenever the disk is inserted into the drive. The advantage of this is that it's cross-platform. (Linux, Mac and even Windows) The other option is to write pages that will go on the CD that check for an internet connection via JavaScript (will this page load, etc. not hard if you think it through) and then display default content if no connection is present but if a connection is present it pulls from her site. The upside to this is if you are burning the CD's manually, you can add a unique ID to each of them and track their usage through your web server's log files. HTH, =C= p.s. nothing works WITH WinME. Some things work in spite of WinME! :) * * Cal Evans * The Virtual CIO * http://www.calevans.com * -----Original Message----- From: databarn [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 29, 2002 9:34 AM To: MySQL Subject: Anyone have MySQL/PHP running from CD? Folk, A friend has asked me to help her to create some business card CDs (with her web on them) that she can use to promote her business. The web uses PHP, with MySQL for the database engine . . . it hasn't been published yet, still in the throes [up] of creation. I've found MicroWeb, which purports to do just what we need, but it's a bit steep for a startup on a shoestring budget - $300 for a developer's license. Haven't checked it out yet, so I cannot speak to its effectiveness. Anyone know of anything else that might do the job, preferably at a lower cost, open source or maybe freeware? It would need to run transparently, i.e., autorun or run one executable that would fire up PHP, MySQL, and the default web browser for the machine using the CD. 'Twould be nice if it was OS/platform independent, but it'll need to run on Windows 9x/NT/2K at the least, and should work with Win ME/XP as well. 'Preciate any aid on this. Make a good day . . . . . . barn ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wear a smile and have friends; wear a scowl and have wrinkles. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php