Re: [PHP] can I sandwich html docs with PHP

2002-03-01 Thread Rasmus Lerdorf
> > Using mod_perl I can write a module for any phase that Apache > > goes through while handling a request. Based upon any variables I > > want, I can tell Apache to have my module handle one of those > > phases. So when you request this url for example: > > > > http://www.mydomain.com/joe.html >

Re: [PHP] can I sandwich html docs with PHP

2002-03-01 Thread Michael Kimsal
Peter J. Schoenster wrote: > Using mod_perl I can write a module for any phase that Apache > goes through while handling a request. Based upon any variables I > want, I can tell Apache to have my module handle one of those > phases. So when you request this url for example: > > http://www.my

Re: [PHP] can I sandwich html docs with PHP

2002-02-11 Thread Peter J. Schoenster
On 11 Feb 2002, at 19:30, Michael Sims wrote: > I'm not sure I really know what you're asking, but if you are asking > if you can use PHP code within HTML files (with *.html extensions) > then the answer is yes. If you're running Apache, add the following > to your httpd.conf: > Please disregar

Re: [PHP] can I sandwich html docs with PHP

2002-02-11 Thread Michael Sims
At 04:46 PM 2/11/2002 -0600, Peter J. Schoenster wrote: >How can I do this with PHP? > >I want the urls to be like: > >http:://www.mydomain.com/page.html >http:://www.mydomain.com/page2.html >http:://www.mydomain.com/page3.html > >etc. One motive is to be sure that no search engines are >discourag

[PHP] can I sandwich html docs with PHP

2002-02-11 Thread Peter J. Schoenster
Hi, With mod_perl I can set a handler to handle any documents so it's quite easy to dump a database where each select output is saved to a file. I can have my handler take any file in the output directory and create the "html" page on the fly (where the contents of the file can be manipulated