Page is a not externally linkable
- Code, Content, and Presentation
-- Perl Server Side CGI Scripting
---- Putting a new dynamic PHP/MySQL site on a cd-rom


andreasfriedrich - 1:37 am on Dec 14, 2002 (gmt 0)


Thanks trismegisto.

if you put a dynamic site on a cd, do you have to build the database before burning it into the cd? does that mean that you couldn’t be able to add new records to your cd dynamic website database?

Yes and yes if you are talking about a CD-R.

is there a way to run the “mysql engine” from the cd and write the mysql database in the computer?

Yes. You would need to use my.ini or my.cnf to set the datadir=s:/MySQL/data directive to the directory containing the databases. You could either burn my.ini/cnf on CD in which case the datadir path would be hard coded or use the same approach I used for the httpd.conf file.

Andreas


Thread source:: http://www.webmasterworld.com/perl/1760.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com