March 3rd, 2002, 06:30 AM
I am working with someone who needs to run a website off line and be able to run through a web based catalogue and select amounts of products to be ordered via a dropdown (whether the product is in stock is not an issue). I then need this file to be output in HTML with the option to add/remove products and then this list be again output for print.
I dont really want to start communicating with access or any other databases as some of the people using this will not have office and I dont want to have to install apache or mysql on the machines either.
March 3rd, 2002, 02:26 PM
your pages will probably exceed several megs then, but since you want to use them off-line, this should be no problem.
donīt know if this helps you, but i managed to make apache, mysql and php run off a cd-rom. this could be a much easier solution!
March 7th, 2002, 06:03 AM
As you said it won't matter too much about size as the pages will only be used off line.
I would be interested to hear about running apache/mysql etc off a CD. Was it hard to set up?
March 7th, 2002, 06:29 AM
March 7th, 2002, 12:49 PM
To make apache run from a CD-ROM is not hard. just setup everything to use relative paths.
install everything (apache, mysql, php) to your harddisk first, make the setup and test it. then just copy the directorys to a cd-rom.
setup mySQL to use relative paths too.
make a batch file (start.bat) similar to this (i donīt have the original anymore ):
\apache\httpd -quit (sorry, cannot remember the parameter to stop apache on win****)
\mysql\mysqld -quit (sorry, donīt have this one either anymore)
make an autorun.inf to call your .bat file
you should get the point: the command "start" sends a process to background in windows and goes on with processing the batch file.
it worked fine on W9X and WNT4, at that time there was no W2K yet... if you donīt get along with this, tell me. i can search for my original CD-ROM then but i am too lazy right now....