diff --git a/combine.php b/combine.php index c70c6bca..294076c1 100644 --- a/combine.php +++ b/combine.php @@ -1,18 +1,17 @@ \ No newline at end of file +header('Content-Type: ' . $type); +header('Content-Length: ' . strlen($contents)); +echo $contents; \ No newline at end of file diff --git a/experiments/weather/index.php b/experiments/weather/index.php index 3cc48afb..28f03404 100644 --- a/experiments/weather/index.php +++ b/experiments/weather/index.php @@ -1,4 +1,4 @@ - +xpath("/xml_api_reply/weather/forecast_conditions");
-- = $forecast->low['data'] ?>° F - = $forecast->high['data'] ?>° F, - = $forecast->condition['data'] ?> + low['data']; ?>° F - high['data']; ?>° F, + condition['data']; ?>