[PHP] Re: Php files with .html extension?

2004-10-25 Thread M. Sokolewicz
Phpu wrote: Hi, How can i do a php script with a html extensionsuch as http://www.blinds-wise.com/shop/p/blind/bid/1/venetian_blinds.html Thanks when using eg. apache, you can add a .htaccess file with the following line: AddType application/x-httpd-php .html That will overwrite the normal

Re: [PHP] files with html extension

2001-03-22 Thread Harshdeep S Jawanda
Jeff Armstrong wrote: This is exactly why http://www.w3.org recommend that you DONT SPECIFY A FILE TYPE TYPE in your HREFs. But doth that actually work - how many web servers are able to handle this type of link correctly? Ummm... and what happens (or is supposed to happen) to resolve

RE: [PHP] files with html extension

2001-03-22 Thread Jeff Armstrong
To: Jeff Armstrong Cc: [EMAIL PROTECTED] Subject: Re: [PHP] files with html extension Jeff Armstrong wrote: This is exactly why http://www.w3.org recommend that you DONT SPECIFY A FILE TYPE TYPE in your HREFs. But doth that actually work - how many web servers are able to handle this type

RE: [PHP] files with html extension

2001-03-20 Thread Jack Dempsey
You can tell apache to have the php interpreter parse files with an html extension, thereby letting you use the tags in html files...whether this is a good solution or not is another question.that would mean that each file would get parsedwhy are you trying to do this? jack

RE: [PHP] files with html extension

2001-03-20 Thread Rick VanNorman
On 3/20/2001 at 12:29 PM Jack Dempsey wrote: You can tell apache to have the php interpreter parse files with an html extension, thereby letting you use the tags in html files...whether this is a good solution or not is another question.that would mean that each file would get

RE: [PHP] files with html extension

2001-03-20 Thread Mark Maggelet
for php4: AddType application/x-httpd-php .html for php3: AddType application/x-httpd-php3 .html On Tue, 20 Mar 2001 10:12:56 -0800, Rick VanNorman ([EMAIL PROTECTED]) wrote: On 3/20/2001 at 12:29 PM Jack Dempsey wrote: You can tell apache to have the php interpreter parse files with an html

Re: [PHP] files with html extension

2001-03-20 Thread Phillip Bow
Personally I recommend people don't do this unless their web server is going to serve only(or mostly) php pages, and very few straight html pages. It will save you time mucking around on the server, but the increase in overhead isn't really worth it. IMHO of course. -- phill -- PHP General

RE: [PHP] files with html extension

2001-03-20 Thread Jeff Armstrong
to replace xxx.html with xxx.php or even xxx.my_new_language_of_the_moment. }; Jeff -Original Message- From: Phillip Bow [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 6:35 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] files with html extension Personally I recommend people

RE: [PHP] files with html extension

2001-03-20 Thread Rick VanNorman
This is the best idea I've heard/read yet. Thanks Jeff! Rick VanNorman *** REPLY SEPARATOR *** On 3/20/2001 at 6:49 PM Jeff Armstrong wrote: This is exactly why http://www.w3.org recommend that you DONT SPECIFY A FILE TYPE TYPE in your HREFs. Cool URIs Dont change -

RE: [PHP] files with html extension

2001-03-20 Thread Jeff Oien
From the doc: --- How can I remove the file extensions... ...from my URIs in a practical file-based web server? If you are using, for example, Apache, you can set it up to do content negotiation. -- How is this done? Jeff Oien On 3/20/2001 at 6:49 PM Jeff Armstrong