Re: PHP-Yes, HTML-No --- Why?



Barry,

I do thank you for your help. But
>
it is possible to set up the server to send .html files through
the parser aswell, but as a norm this is not done.
<
sounds a bit strange. Shouldn't I be able to put pieces of PHP-code in HTML-code of HTML-files. I think I have done it many times and it has worked without any special arrangements with the webserver.


Lennart Björk
.



Relevant Pages

  • Re: PHP-Yes, HTML-No --- Why?
    ... Lennart Björk wrote: ... it is possible to set up the server to send .html files through ... the parser aswell, but as a norm this is not done. ... maybe your web server was setup differently without you knowing about it. ...
    (comp.lang.php)
  • Re: web page newsletter
    ... Read: Compress graphics file sizes to create smaller Publisher Web pages: ... I uploaded both the index.htm file & the index_files to the server. ... haven't uploaded all the html files produced by Publisher. ... You apparently did not upload the index_files folder. ...
    (microsoft.public.publisher)
  • Re: Performance cost to parsing SSI and PHP
    ... | that alerts the server to check for include directives before ... | SSI but they can be configured to do so. ... | configuring the server to parse .html files would cause all ... used in delivering content like html, cgi, shtml, xml, etc.. ...
    (alt.php)
  • Re: redirect / new website how to redirect old (google) links to new site ?
    ... Configure your server to parse .html files for PHP. ... It's unnecessary overhead to parse static html files for PHP code. ...
    (comp.lang.php)
  • Re: redirect / new website how to redirect old (google) links to new site ?
    ... But why use PHP for some other function such as processing form data. ... to process *all* .html files as php files is an unnecessary overhead. ... That's what a server is for. ... You only need an extension if you directly map a URL onto the server's ...
    (comp.lang.php)

Quantcast