Re: [PHP-INST] PHP Code in .html/.htm pages

2002-11-27 Thread John Coder
On Wed, 2002-11-27 at 18:57, Robert W. Kramer III wrote: > > If I name my file .php and run the printinfo() routine, I get output. But > when the file is named .html or .htm, the printinfo() just displays in the > page. > > Is there a way to get .html files to execute the PHP code within them? Fo

[PHP-INST] PHP Code in .html/.htm pages

2002-11-27 Thread Robert W. Kramer III
If I name my file .php and run the printinfo() routine, I get output. But when the file is named .html or .htm, the printinfo() just displays in the page. Is there a way to get .html files to execute the PHP code within them? For example, the following code will only work from within a file with