RE: [PHP-WIN] PHP and HTML

2004-08-20 Thread Gryffyn, Trevor
I got it the first time, so guess it went through. I don't remember if it needs to be this strict or not, but I'd do it this way: Echo "$Name"; Doensn't look like you're ECHOing or otherwise outputting the OPTION tag and I usually include a "value=" with my options. No need to use the "." to co

RE: [PHP-WIN] PHP and HTML

2001-05-09 Thread [EMAIL PROTECTED]
Original Message- > From: hassan el forkani [mailto:[EMAIL PROTECTED]] > Sent: Mittwoch, 9. Mai 2001 13:49 > To: [EMAIL PROTECTED]; Jordy; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] PHP and HTML > > > ?? > you can configure apache to parse files with .html extension too > &g

RE: [PHP-WIN] PHP and HTML

2001-05-09 Thread hassan el forkani
?? you can configure apache to parse files with .html extension too edit httpd.conf and make sure you have the following: Action application/x-httpd-php4 "/php4/php.exe" AddType application/x-httpd-php4 .php .html this way apache parses files with both extensions .php and .html regard

Re: [PHP-WIN] PHP and HTML

2001-05-08 Thread Joe Brown
Well, you can tell apache to filter html through php by adding the .html extension to the directive suchas: AddType application/x-httpd-php .php .html If you serve a lot of .html, this will probably slow your server down because all .html files will be filtered through php You can set index.php

RE: [PHP-WIN] PHP and HTML

2001-05-08 Thread Martijn Weisbeek
> Don't know a clean way how to get round this problem though (without having > to use redirects or similar things in the index.html) I believe you can do so using a .htaccess on Apache. This comes from the Apache-manual: *** Redirect Now Usable in .htaccess Files *** The Redirect directive can

RE: [PHP-WIN] PHP and HTML

2001-05-08 Thread [EMAIL PROTECTED]
On a standard Apache you cannot just put php scripts in html files, since the apache won't pass them on to the php-interpreter. However it is probably not true, that the files come without the php-code. You just cannot see it in the Browser since it is hidden inside tags. But if you look at the s

Re: [PHP-WIN] PHP and HTML

2001-05-08 Thread Alessio Bernesco Làvore
Wath did you mean with "html pages"? Have you set the extensions of these pages as .php? Bye, Alessio. ""Jordy"" <[EMAIL PROTECTED]> ha scritto nel messaggio 9d8qbe$934$[EMAIL PROTECTED]">news:9d8qbe$934$[EMAIL PROTECTED]... > Hi there, > I have Php 4.0.5 and Apache Web Server, > It all works f