Firewalls and meteohub connection from external webserver
Posted: Sun Oct 02, 2011 9:31 pm
Hello,
I have a website(http://www.meteocalamillor.es) that displays weather report every 15 seconds from my weather station. To do this I have a php parser:
The connection to meteohub through port 1212, but my web-server blocks connections to this port(all general ports). Is there any alternative way to connect with meteohub?
Thanks
I have a website(http://www.meteocalamillor.es) that displays weather report every 15 seconds from my weather station. To do this I have a php parser:
Code: Select all
$xsl_filename = "infometeo.xsl"; //XSL file
$xml_filename = http://mystation:1212/meteograph.cgi?text=allxml //XML file
$doc = new DOMDocument();
$xsl = new XSLTProcessor();
$doc->load($xsl_filename);
$xsl->importStyleSheet($doc);
$doc->load($xml_filename)
echo $xsl->transformToXML($doc);
Thanks