Raised This Month: $ Target: $400
 0% 

Reading a txt file from a website


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
turshija
Member
Join Date: Jan 2009
Old 11-01-2009 , 18:16   Reading a txt file from a website
Reply With Quote #1

Hello ...
I got an idea for some useful plugin, but I need something that I don't know if its possible ...

Is it possible, and HOW can I get an info from a file, for example http://www.website.com/something.txt and that file consists of exactly 1 string or 1 number ?
Can I read it somehow ?
turshija is offline
VMAN
Senior Member
Join Date: Oct 2007
Location: California, US
Old 11-01-2009 , 18:46   Re: Reading a txt file from a website
Reply With Quote #2

Sockets
__________________
VMAN is offline
turshija
Member
Join Date: Jan 2009
Old 11-01-2009 , 20:51   Re: Reading a txt file from a website
Reply With Quote #3

nice explanation ...
any simple example ?
that just reads a number and stores it in a variable ?
turshija is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-02-2009 , 11:57   Re: Reading a txt file from a website
Reply With Quote #4

http://forums.alliedmods.net/showthread.php?t=63120

Also, don't bump until 2 weeks have passed since last post.
http://forums.alliedmods.net/showthread.php?t=100352
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
turshija
Member
Join Date: Jan 2009
Old 11-02-2009 , 11:54   Re: Reading a txt file from a website
Reply With Quote #5

turshija is offline
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 17:41.


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