PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
osfsbs
New Member
New Member


Joined: Dec 08, 2003
Posts: 15

PostPosted: Tue Dec 30, 2003 5:16 pm Reply with quote Back to top

Hello,

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.

Thanks
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Jan 06, 2004 9:01 am Reply with quote Back to top

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 user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum