Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. function fncPostXMLToURL($url, $page, $xml_data) {
  2.  
  3.     $headers = array(
  4.         "POST ".$page." HTTP/1.0",
  5.         "Content-type: text/xml;charset=\"utf-8\"",
  6.         "Accept: text/xml",
  7.         "Cache-Control: no-cache",
  8.         "Pragma: no-cache",
  9.         "Content-length: ".strlen($xml_data),
  10.     );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement