| Author |  | 
      
        | onhiatus Senior Member
 
  
  
 Joined: May 12 2004
 Location: United States
 Online Status: Offline
 Posts: 279
 | 
          Is it possible to include a file in the web directory in a psp page?
           | Posted: June 13 2006 at 23:53 | IP Logged |   |  
           | 
 |  
 I'd like to do something like:
 <HTML>
 <HEAD></HEAD>
 <BODY>
 Today's Appointments:<BR>
 <span name="TimeStamp">
 <%ph_INCLUDE_FILE("cal0.txt") %>
 </span>
 </BODY>
 </HTML>
 
 Thanks!
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | TonyNo Moderator Group
 
  
  
 Joined: December 05 2001
 Location: United States
 Online Status: Offline
 Posts: 2889
 | 
          Use ph_readfile.
           | Posted: June 14 2006 at 07:53 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |       | 
       
       
        |  | 
        | onhiatus Senior Member
 
  
  
 Joined: May 12 2004
 Location: United States
 Online Status: Offline
 Posts: 279
 | 
          Arghh! I'm an idiot. I am using ph_readfile to save the contents to a global within ph. It never even occured to me that I could do it directly.
           | Posted: June 14 2006 at 18:55 | IP Logged |   |  
           | 
 |  
 I guess I still haven't gotten in the mode of thinking in psp mode.
 
 Thanks.
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | TonyNo Moderator Group
 
  
  
 Joined: December 05 2001
 Location: United States
 Online Status: Offline
 Posts: 2889
 | 
          It'll come to you!
           | Posted: June 14 2006 at 20:23 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |       | 
       
       
        |  |