Jay Garcia wrote:

> On 20.06.2011 04:54, Beauregard T. Shagnasty wrote:
> <snippage>
>> I'd agree that's the case ... but ya never know. I have a site or two
>> that are completely done in PHP, but all display the pages'
>> filenames as "example.html". It's a simple matter to add a command
>> to the .htaccess file to process .html files as PHP. Visitors can't
>> tell.  <g>
>> 
>> # Process .html files as php
>> AddHandler application/x-httpd-php5 .html .php .htm
> 
> The only problem one will run into with that htaccess entry is if you
> access a MySQL database from your PHP page(s).

Why would that be? I use MySQL on most of my sites and there is nary a
glitch. If yours give problems, there must be something amiss with your
code. Are your files HTML pages with some embedded PHP, or are they PHP
scripts that have embedded/outputted HTML? Mine are all the latter. What
I mean is, the first line of them all is:   <?php

> All 30+ domains on my servers run the latest PHP 5 and MySQL 5.x with
> only some minor adjustments to the DB's as well as the PHP. But there
> can be major problems when running very old PHP/MySQL when upgrading
> to the 5's.

Of course. But it depends. I started using PHP with the earliest of
version 4, and some scripts from a decade ago are still running
unchanged.

-- 
   -bts
   -Four wheels carry the body; two wheels move the soul
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to