upgrading to newer versions
This commit is contained in:
parent
e1a0b462a1
commit
4d9af2c691
1271 changed files with 0 additions and 539033 deletions
|
|
@ -1,19 +0,0 @@
|
|||
<?php
|
||||
|
||||
header("Content-Type:text/xml");
|
||||
|
||||
$url = 'http://xml.weather.yahoo.com/forecastrss?'.getenv('QUERY_STRING');
|
||||
|
||||
function getResource($url){
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
$result = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
$feed = getResource($url);
|
||||
echo $feed;
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue