AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Is there any function that read web files? (https://forums.alliedmods.net/showthread.php?t=121646)

Ashcan 03-18-2010 05:00

Is there any function that read web files?
 
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 :D

Arkshine 03-18-2010 05:49

Re: Is there any function that read web files?
 
You have probably to use socket module.


All times are GMT -4. The time now is 08:44.

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