Re: [PHP] Using PHP on an .html file

2003-08-25 Thread Curt Zirzow
* Thus wrote Mike Migurski ([EMAIL PROTECTED]): > >> Better to do this in an .htaccess file, so you don't incur PHP > >> processing overhead on the entire server (if there are others using > >> it). > > > >Apache suggests not using .htaccess files at all because they require a > >recursive traversi

Re: [PHP] Using PHP on an .html file

2003-08-24 Thread Mike Migurski
>> Better to do this in an .htaccess file, so you don't incur PHP >> processing overhead on the entire server (if there are others using >> it). > >Apache suggests not using .htaccess files at all because they require a >recursive traversing of directories looking for .htaccess files, because >some

Re: [PHP] Using PHP on an .html file

2003-08-24 Thread Dan Anderson
> Better to do this in an .htaccess file, so you don't incur PHP processing > overhead on the entire server (if there are others using it). Apache suggests not using .htaccess files at all because they require a recursive traversing of directories looking for .htaccess files, because some supersed

Re: [PHP] Using PHP on an .html file

2003-08-24 Thread Mike Migurski
>> For example, on a file called info.html, i want to have some PHP >> code that actually gets executed. > >In your httpd.conf add the line > >AddType application/x-httpd-php html Better to do this in an .htaccess file, so you don't incur PHP processing overhead on the entire server (if there

Re: [PHP] Using PHP on an .html file

2003-08-24 Thread Chan Hong Guan
Kevin Waterson wrote: This one time, at band camp, Pag <[EMAIL PROTECTED]> wrote: I looked everywhere for the answer to this dilemma, and i know there is a way around it, maybe something about the headers, cant really remember how it was, but can someone please tell me how i can use PHP code o

Re: [PHP] Using PHP on an .html file

2003-08-24 Thread Kevin Waterson
This one time, at band camp, Pag <[EMAIL PROTECTED]> wrote: > > I looked everywhere for the answer to this dilemma, and i know there is a > way around it, maybe something about the headers, cant really remember how > it was, but can someone please tell me how i can use PHP code on a file