AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   get data from host (https://forums.alliedmods.net/showthread.php?t=322884)

PHHAAKE 04-06-2020 15:32

get data from host
 
how to get data from a file in host
i mean i want socket to connect and read file from my host and..
if its equal to my data, do something

DJ Tsunami 04-07-2020 05:55

Re: get data from host
 
What kind of host? Do you really need a socket, or do you just want to read a file from a webserver?

PHHAAKE 04-08-2020 01:33

Re: get data from host
 
Quote:

Originally Posted by DJ Tsunami (Post 2691349)
What kind of host? Do you really need a socket, or do you just want to read a file from webserver?

I need socket i know but im realy confused
I wrote a plugin that read data and type it in chat
But its so complicated


I need some helps about them
PHP Code:

servers{
"Server1"  "1.1.1.1"
"Server2"  "2.2.2.2"



This is the file that i want to upload in host.


1.1.1.1 is the server ip

I need this plugin to open this file in host and if this server ip is equal with one of them, then do something


All times are GMT -4. The time now is 05:04.

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