Ahh remember the classic <!--#include file="blah.inc"-->? I would like to do the same within my php pages WITHOUT USING include() or require(). The reason behind this is that there are static .html pages using these includes and I don't want to stray away from doing so.
Thanks all
hmmm, never saw that before :o Is fread() allowed??
Ok well with ASP you put your code in <% %> tags and ou can have html code outside. the file ext is still .asp or in this case the tags are <?php ?> and .php as the file ext. Why is it that when i try to put <!--#include file="whatever.inc"--> outside the tags with my html it read it as a comment instead of an include?
I hope im making since?
Thanks
What you are thinking of <!--#include file="blah.inc"--> is a server-side include. You would have to change the file extension to .shtml
Might as well use .php (get the server to parse the page) and use <? include ()?>