Posted by Lee on 07/01/06 16:11
> That doesn't matter if it is only in one page. That AddType statement is
> telling Apache to scan *ALL* html pages for php. Apache doesn't care if
> there is php code in just one of your pages or every single page on the
> server. The *BEST* way is to change that individual page to have the
> extension of '.php'
>
> If for some reason that can not be done you can use the XBitHack and use
> chmod +x filename.html
>
> This will tell Apache to *ONLY* parse the given filename for any '.php'
> code. This is still a much better way than the first method suggested.
Thanks for the help everyone. I got it done with the IFRAME tag.
Navigation:
[Reply to this message]
|