I am able to load and display the content of my include file "navigation.inc"
- Code: Select all
<div>
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
</div>
in my document Test.shtml:
- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Test</title>
</head>
<body style="margin-top: 1px; margin-left: 0px;">
<h1>Including File</h1>
<!--#include virtual="navigation.inc" -->
<div id="Text" style="margin-left: 100px; margin-right: 100px;">
<h1>Lorem Ipsum</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p>
</div>
</body>
</html>
But when the size of the include file is larger than 255 bytes - just adding 1 character, the text following
the include will not be shown anymore.
Is there a configuration option, which I have to set to enable include files larger than 255 bytes?
BTW: when I upoload the shtml and the include file to my web space using my web hosting service, it is possible to include larger files.