Is it possible, and if so, how hard would it be to read information from a text file and insert it into either a block or module for nuke? I have a site that is used as a front end so to speak for an ftp server. What I would like to do is somewhere on the website show either who is using the ftp server or how many users are on the server. As for details, both www site and ftp are on the same machine, same hard drive, and writing the ftp server log file to a directory readable by nuke is no problem. I am willing to use any ftp server software if that makes a difference. Any suggestions or help would be appreciated.
BTW Raven,
If this is possible but beyond help here, and you have a figure in mind please feel free to email me an idea of what we would be talking.
Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Tue Jan 06, 2004 9:01 am
Sorry for taking so long to respond to this - been pretty busy. Inserting text from a file is easy to do. Just write a standard block and use
$content = file_get_contents('/pathto/text.file');
where you want the text inserted. There are other ways, but this should get you started.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum