Raised This Month: $ Target: $400
 0% 

Is there any function that read web files?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ashcan
Senior Member
Join Date: May 2008
Old 03-18-2010 , 05:00   Is there any function that read web files?
Reply With Quote #1

Like topic says
I wanna know if there is (in amxx) any function that will read some lines from web?

i want to make somethink like...
new URL = "http://my-page.com/index.php?xml=1";
new XML = simplexml_load_file(URL,'SimpleXMLElement',LI BXML_NOCDATA);

register_clcmd("say /asd", public)

and
public public(id)
{
client_print(id,print_chat, "%s", XML->Name)
}


Is there any function to read xml in amxx?
please help
Ashcan is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-18-2010 , 05:49   Re: Is there any function that read web files?
Reply With Quote #2

You have probably to use socket module.
__________________
Arkshine 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 08:44.


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