Re: Re: PHP site on CD-ROM
| From: | Michael A. Peters | Date: | Fri, 19 Jan 2001 23:12:04 +0000 |
| Subject: | Re: Re: PHP site on CD-ROM | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35747@lists.php.net to get a copy of this message | ||
I would use thttpd with php support compiled in, rather than a browser.
That way you could use whatever the browser on the users system was- more comfortable for the user.
difficulty is what port to run the server at (well, one of the difficulties...) but you could search
for an unused unpriviliged port number.
Easiest thing to do would be to use /tmp on the users system (is there a Windows equivalent? I
honestly don't know) for the doc root etc. and then have the users browser look at http://127.0.0.1:10185/index.php (or whatever).
I don't know if thttpd builds on windows, but i imagine I could get this working on linux in
under a day.
Database is a totally different story- I'd just go flat file, if I needed one.
On Friday, January 19, 2001, at 10:38 AM, <artwells@inetarena.com> wrote:
> I wonder if it's possible to adapt the CGI version of PHP as a Netscape
> plugin, or to associate the extension of php files to some kind of php
> wrapper. This would require distributing a browser with the CD for this
> specific CD, but it could work.
>
> For a Unix-only kludge, I found this page,
> http://home.netscape.com/newsref/std/x-remote.html
> It seems to me, by playing with with the application associations, one
> could get php to write to a temporary file, and then use netscape's
> -remote openFile to read it. I imagine, though, that if this works, it
> would be rather unstable.
>
> MySQL would be a whole 'nother can of worms.
>
> Just playing with ideas.
>
> me@artwells.com
> http://www.artwells.com/
> That which indicates nothing
> introduces everything.
>
> On Fri, 19 Jan 2001, Philip Apostol wrote:
>
> > Can I run a PHP/Apache/MySQL services on a CD-ROM. We have PHP scripts that
> > handle queries on a large database. We would like to distribute it on a
> > CD-ROM so they could access the database offline. Is it possible? Or are
> > there any similar solutions for this? Im thinking of a text-file database
> > and access it via javascript but have no much time to study on this. If php
> > can be run on the cd-rom, that would be a better solution. But any
> > solution you posted here will be highly appreciated. Thanks in advance.
> >
> > Philip
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters
Abriasoft Senior Developer
(510) 623-9726x357
Fax: (510) 249-9125