Jump to content

fabmsg

New Members
  • Posts

    3
  • Joined

  • Last visited

fabmsg's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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!
  2. Thanks! this way is way better. but is it possible to hide the www.microprocessor.ddns.net link in any way? I don't want the user to know the microprocessor web site. thanks! from what i've searched this seems what i want, can you just show me an example using the form that hansford gave me? thanks!
  3. Hi! I'm new to php so, please forgive if this is a really simple question or if it doesn't make sense. I have an www.domain.com web site and then I have an microprocessor at home connected to the internet also hosting and simple page. That page is acessible from the internet. When I'm browising on my www.domain.com i want to add an botton that sends an request to the microprocessor, right now what i do is when the button is clicked, it opens the microprocessor page like : microprocessor.ddns.net/?update=1. How can i make the www.domain.com send the "?update=1" to the microprocessor without the user have to see the microprocessor page. The main purpose is to hide the microprocessor address so it's harder to be hacked.. Thanks for the help!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.