/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function backgroundPost($url,$params) { $post_string = ''; // fallback foreach($params as $key => &$val) { } } $errno, $errstr, 30); if(!$fp) { return false; } else { $out = "POST ".$parts['path']." HTTP/1.1rn"; $out.= "Host: ".$parts['host']."rn"; $out.= "Content-Type: application/x-www-form-urlencodedrn"; $out.= "Connection: Closernrn"; return true; } }
Comments
