Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Feature Requests
 PowerHome Messageboard : PowerHome Feature Requests
Subject Topic: Include tag Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 05 2003 at 20:33 | IP Logged Quote TonyNo

How about the ability to include text from another file or url?

Maybe... <% include(file) %>

I wonder if I could do this now with an iframe? Hmm..

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 05 2003 at 21:21 | IP Logged Quote TonyNo

Well, the iframe kinda works...

What about a command to go with ph_readfile, like, I don't know, maybe ph_writefile?

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 07 2003 at 19:20 | IP Logged Quote dhoward

Tony,

Looks like you discovered the ph_readfile function.  It should do what you want.  It won't evaluate any internal PSP commands though.  I'll take a look at what I can do to get a little closer to the above functionality.

Im not at my development machine, but I do believe the next version already has a ph_writefile !  I'll take a look to be sure and if I don't, I'll look into adding it.

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 07 2003 at 21:14 | IP Logged Quote TonyNo

Sounds good!

You must be out of town; you never post this late!

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum