On Mon, Jun 09, 2003 at 12:26:24PM -0500, Wendell Brown wrote:
> >
> >OK, another waythe HTML could be read into a page (fopen())
> >containing the header/footer stuff. You'd have to deal with
> >identification of which page you want loaded, but shouldn't be too hard.
>
> Here is what I ended
On Mon, 9 Jun 2003 07:21:45 -0500, Jay Blanchard wrote:
>I see what you are saying, but how much modification is too much? :)
>
>OK, another waythe HTML could be read into a page (fopen())
>containing the header/footer stuff. You'd have to deal with
>identification of which page you want load
[snip]
The reasonn for my "difficult" answer was because the criteria for his
solution indicated that he did not want to modify the html pages
themselves. Thus the above solution is invalid :|
[/snip]
I see what you are saying, but how much modification is too much? :)
OK, another waythe HTM
Jay Blanchard wrote:
>
> There are so many ways to skin this cat. You could (as you said, it will
> require adding HTML to the list of php parsed file types) have the
> header, body, and footer files read into a single file and then output.
> You could do something like this ... (a lot of folks us
Yes it can be done, using the auto-prepend feature call a script that
turns output buffering on. Then in the auto-appended script read the
buffer a manipulate ith with the automatic header and footer. Thus you
modify the content only and achieve what you want without modifying
the actual HTML file
On Thu, 05 Jun 2003 16:41:01 -0400, Tom Ray [Lists] wrote:
>First, I would drop a .htaccess file that allows the HTML files to run
>through the PHP parser. Like this AddType application/x-httpd-php .php .html
>
>-h1--/h1-
Yeah, that would work but my goal was to not have to modify the html
files
Well, my understanding of mod_rewrite is nonexistent (heck, I'm not
even sure that's the correct name), but I believe you do the
following. Write a php script to parse the file and output it with
the added lines you want where you want them. Then setup apache/php
to accept something like
http://ww
I would have to say yes it can be done. The way *I* would do it is like
this:
First, I would drop a .htaccess file that allows the HTML files to run
through the PHP parser. Like this AddType application/x-httpd-php .php .html
The in all of the HTML docs it would look like this:
-HTML-
-Head-
-
[snip]
Yes it can be done, using the auto-prepend feature call a script that
turns output buffering on. Then in the auto-appended script read the
buffer a manipulate ith with the automatic header and footer. Thus you
modify the content only and achieve what you want without modifying
the actual HT
9 matches
Mail list logo