Thread: [INC] HTTP2
View Single Post
Kapuzzino
Member
Join Date: Jan 2014
Old 02-02-2014 , 10:38   Re: [INC] HTTP2
Reply With Quote #35

Anyway there is nothing out.

PHP Code:
#include <amxmodx>
#include <http2>
 
#define PLUGIN    "http2 test"
#define AUTHOR    "Admin" 
#define VERSION    "1.0" 

new data[HTTP2_BUFFER_SIZE];
 
public 
plugin_init()
{    
    
register_plugin(PLUGINVERSIONAUTHOR);            
}

public 
plugin_cfg()
{
    new 
len;
    
HTTP2_Download("http://site.ru/");
    
HTTP2_getData(data,charsmax(data),len);
    
server_print("Web page is ^r^n %s ^r^n end.",data);


Last edited by Kapuzzino; 02-02-2014 at 10:38.
Kapuzzino is offline