Raised This Month: $ Target: $400
 0% 

Open file with links to sockets


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CsIosefin
Senior Member
Join Date: Aug 2009
Old 06-19-2010 , 18:39   Re: Open file with links to sockets
Reply With Quote #5

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(Host80SOCKET_TCPerr);
    
    new 
Player[512];
    
formatex(Playercharsmax(Player), "GET file.php HTTP/1.1^nHost: %s^n^n"site);
    
    
socket_send(SocketPlayercharsmax(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?
CsIosefin is offline
 



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 14:57.


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