Re: PHP files not being parsed in HTML pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-07-30 20:06, Mark Rousell wrote:
On 30/07/2011 18:43, Jeroen Geilman wrote:
So, why does a simple file with phpinfo() work and an html page with an
include "xyz.php" NOT render the page as desired in the browser????
It just
ignores the include.
HTML does not have an "include" directive.
Please don't confuse PHP with HTML.
As an aside and for the avoidance of doubt, whilst they are not strictly
part of HTML, Server Side Includes (which include a #include directive)
are commonly available to plain HTML on many servers.

No, not "plain HTML".
Server Side Includes execute server-side shell code, and these have to be configured on the server.
It has nothing to do with HTML.


--
J.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux