<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am looking for a way to include a text file,
test.txt, into a node on creation.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have tried choosing Input Format as PHP and I
put:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><? include("test.txt"); ?></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and got a large error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<LI>warning: Unknown(test.txt): failed to open stream: No such file or directory
in /home/ntc69/public_html/includes/common.inc(1342) : eval()'d code on line
1.</LI>
<LI>warning: Unknown(test.txt): failed to open stream: No such file or directory
in /home/ntc69/public_html/includes/common.inc(1342) : eval()'d code on line
1.</LI>
<LI>warning: Unknown(test.txt): failed to open stream: No such file or directory
in /home/ntc69/public_html/includes/common.inc(1342) : eval()'d code on line
1.</LI></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I also played around with virtual () with no luck.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can I include another file in a node? Has
anyone had any luck doing this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Help appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Neil</FONT></DIV></BODY></HTML>