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



"Lennart Björk" <lennart.bjork@xxxxxxxxxxx> wrote in message
news:ONJBf.43244$d5.199425@xxxxxxxxxxxxxxxxxx
> Dave,
>
> > dirty laundry aired for all to see
>
> Do you mean that PHP-code in files with php as filename extension cannot
> be seen as 'view source'?
>
> Lennart Björk

I mean as in you are showing the world what technology you're using :) The
pages are spitting out HTML, and so logically should have a .html extension
when the browser sees them (as the extension signifies the contents of the
file, even though web browsers shouldn't use that to determine the contents
of the file, people still do).

View source (.phps) should never be enabled, as it's so ridiculously
dangerous it's not even funny :)


.



Relevant Pages

  • Upgrading to 60 question.
    ... <ACPI PCI bus> on pcib0 ... <Parallel port bus> on ppc0 ... libmcrypt-2.5.7_1 Multi-cipher cryptographic library (used in PHP) ... p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, ...
    (freebsd-questions)
  • Re: openssl extension not loading (need to open https stream)
    ... you configured PHP?" ... I have also enabled the openssl extension and made sure it is ... in the extension folder. ... the apache module ...
    (comp.lang.php)
  • Re: extension PHP Qt
    ... Very few people will be using PHP 5 soon. ... >>extension unless they pay the commercial Qt license. ... What I am trying to tell you is that because of the license fee payment ... Either GTK, Qt and wxWindows can work either on Linux and Windows, so ...
    (comp.lang.php)
  • Re: Making one HTML page from more than one file
    ... You don't need to worry about browser support for any particular ... odd compiler extension -- if you write code that uses the odd compiler ... Better yet would be to learn PHP, which really is a full-blown programming ...
    (alt.html)
  • Re: Making one HTML page from more than one file
    ... You don't need to worry about browser support for any particular ... odd compiler extension -- if you write code that uses the odd compiler ...
    (alt.html)

Quantcast