PHP Code:
#include <amxmodx>
#include <sockets>
new const site[] = "www.site.com/AM"
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^nHost: %s^n^n", site);
socket_send(Socket, Player, charsmax(Player));
}
I understand what mia said, now know how to do with GET, but I wonder, going to do that with a link directory? Or should I create a new part for directory? I'll take the mean of the directory file file.php, is this possible?