<!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>Thanks Adam, that worked perfectly.</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=AGaffin@nww.com href="mailto:AGaffin@nww.com">Adam Gaffin</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=support@drupal.org 
  href="mailto:support@drupal.org">support@drupal.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, April 26, 2007 3:56 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [support] Including text 
  files in nodes.</DIV>
  <DIV><BR></DIV>
  <DIV dir=ltr align=left><SPAN class=543175413-26042007><FONT face=Arial 
  color=#0000ff size=2>Try&nbsp;using the full system path instead of just the 
  file name.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=543175413-26042007><FONT face=Arial 
  color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=543175413-26042007><FONT size=2>Adam 
  Gaffin<BR>Executive Editor, NetworkWorld.com<BR><A 
  href="mailto:agaffin@nww.com">agaffin@nww.com</A> / (508) 490-6433 / <A 
  href="http://www.networkworld.com">http://www.networkworld.com</A><BR>"I 
  programmed my robotic dog to bite the guy who delivers the electronic mail." 
  -- Kibo&nbsp;&nbsp; </FONT></DIV></SPAN><BR>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> <A 
  href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</A> 
  [mailto:support-bounces@drupal.org] <B>On Behalf Of </B>Neil: 
  esl-lounge.com<BR><B>Sent:</B> Thursday, April 26, 2007 5:16 AM<BR><B>To:</B> 
  support@drupal.org<BR><B>Subject:</B> [support] Including text files in 
  nodes.<BR></FONT><BR></DIV>
  <DIV></DIV>
  <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>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&lt;? include("test.txt"); ?&gt;</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>and got a large error:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>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>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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Help appreciated.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Neil</FONT></DIV>
  <P>
  <HR>

  <P></P>-- <BR>[ Drupal support list | http://lists.drupal.org/ 
]</BLOCKQUOTE></BODY></HTML>