Hi!
I'm trying to make an button that when it's pressed sends an http post to my home server. But my home server is runing on port 84 and i think that i'm not being able to send the post correctly because of this port. any help?
my code now is this:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://homeserver.net:84/?device=35");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
The way I have the URL is correct?
thanks!