Let's see how this code cannot be debugged! Urgent ~~ Source code: function & nbsp; POST_HTTP ($ host, $ query, $ others & #39; & #39;) {& nbsp; $ pathexplode (& #39; & #39;, $ host); & nbsp; let's see how the code cannot be debugged! Urgent ~~
Source code:
Function POST_HTTP ($ host, $ query, $ others = '')
{
$ Path = explode ('/', $ host );
$ Host = $ path [0];
Unset ($ path [0]);
$ Path = '/'. (implode ('/', $ path ));
$ Post = "POST $ path HTTP/1.1 \ r \ nHost: $ host \ r \ n ";
$ Post. = "Content-type: application/x-www-form -";
$ Post. = "urlencoded \ r \ n $ {others }";
$ Post. = "User-Agent: Mozilla 4.0 \ r \ nContent-length :";
$ Post. = strlen ($ query). "\ r \ nConnection: close \ r \ n $ query ";
$ H = fsockopen ($ host, 80 );
Fwrite ($ h, $ post );
For ($ a = 0, $ r = '';! $ ;)
{
$ B = fread ($ h, 8192 );
$ R. = $ B;
$ A = ($ B = '')? 1-0 );
}
Fclose ($ h );
Return $ r;
}
------ Solution --------------------
100 points, right ~
------ Solution --------------------
Jf
------ Solution --------------------
Minute
------ Solution --------------------
Jiefen
------ Solution --------------------
Up
------ Solution --------------------
Pick up score
------ Solution --------------------
Haha
------ Solution --------------------
Points
------ Solution --------------------
Jf
------ Solution --------------------
Let's talk about how to adjust it. let's take a look!