I want to open up the path past the site and the link to open file.php? Simple, but how good you? I could not in any way ...
Code:
#include <amxmodx>
#include <sockets>
new const site[] = "www.site.com"
new err;
public plugin_init()
{
register_plugin("SocketsPlugins", "1.0", "Team");
}
public Jucator()
{
new Socket = socket_open(Host, 80, SOCKET_TCP, err);
new Player[512];
formatex(Player, charsmax(Player), "GET: file.php HTTP/1.1^r^nHost:%s^r^nConnection: close^r^n^r^n", site);
socket_send(Socket, Player, charsmax(Player));
}