Hi, i am trying to send data to a remote server using curl post. It is a webcam server that takes variables after the / like so
http://127.0.0.1/golive+44+3333+33
The variable above are not correct but similar. I can get these to the webcam server using using the following code but it doesnt print out the resposne from the server? What am i doing wrong? All the broadcaster reponds out is success=yes . I also need to check it if cannot connect and it outputs a response of success=no Any help would be great!
<?php
//
// A very simple example that gets a HTTP page.
//
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, "http://i127.0.0.1//golive+44+3333+33");
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
echo "$ch";
curl_close ($ch);
?>
Regards
Julian Chamberlain