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:

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://wwwmydomaincom/joehtml My module can

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 discouraged from

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 disregard if