Raised This Month: $ Target: $400
 0% 

how can i read from file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-19-2013 , 03:32   Re: how can i read from file
Reply With Quote #1

Quote:
Originally Posted by Podarok View Post
Thanks for response, fysiks. I was looking for some simple plugin, but i didnt get the idea. Could u please provide a descriptive example?
wow . . . you need to learn one thing at a time. Learn how to read a file. There are hundreds of plugins that do this. Both plugins in my signature read from files. If you don't want to use my code as an example, look for plugins that read files with fopen(), fgets(), fclose(), etc.

Once you are able to read the file, you simply need to get the number from the resulting strings with str_to_num().
__________________

Last edited by fysiks; 04-19-2013 at 03:32.
fysiks is offline
Old 04-20-2013, 06:07
Sadiutra
This message has been deleted by ConnorMcLeod.
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode