// sockets version HTTP/POST function http_post( $url, $data ) { $eol = "\r\n"; $post = ''; if (is_array($data)) { foreach(…