Author |
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: June 13 2006 at 23:53 | IP Logged
|
|
|
Is it possible to include a file in the web directory in a psp page?
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
|
Posted: June 14 2006 at 07:53 | IP Logged
|
|
|
Use ph_readfile.
|
Back to Top |
|
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: June 14 2006 at 18:55 | IP Logged
|
|
|
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.
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
|
Posted: June 14 2006 at 20:23 | IP Logged
|
|
|
It'll come to you!
|
Back to Top |
|
|