[Phphtmllib-devel] SF.net SVN: phphtmllib:[3315] trunk/open2300/bin/remote_update.php
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2009-12-01 06:08:59
|
Revision: 3315 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3315&view=rev Author: hemna Date: 2009-12-01 06:08:48 +0000 (Tue, 01 Dec 2009) Log Message: ----------- small cleanup Modified Paths: -------------- trunk/open2300/bin/remote_update.php Modified: trunk/open2300/bin/remote_update.php =================================================================== --- trunk/open2300/bin/remote_update.php 2009-12-01 06:03:02 UTC (rev 3314) +++ trunk/open2300/bin/remote_update.php 2009-12-01 06:08:48 UTC (rev 3315) @@ -26,9 +26,6 @@ $wx = weatherDataObject::find("1=1 order by datetime desc"); //now construct the url call -$url = "http://".$GLOBALS['config']->get("remote_server_name"). - "/?target=remote-update"; - $log->debug("remote_update: called"); //var_dump($wx); $rb = new RequestBuilder("RemoteUpdate"); @@ -41,13 +38,11 @@ } $url = html_entity_decode($rb->get_url()); -//echo($url."\n\n"); -//var_dump(strlen($url)); -//echo(html_entity_decode($url)."\n"); $opts = array( 'http' => array('timeout' => 15)); $context = stream_context_create($opts); +var_dump($context); var_dump(file_get_contents($url,0,$context)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |