added YUI and YUI-ext
fixed the resizable text area with IE problem fixed the ad space with IE problem merged the 7.2.0 and 7.1.4 change logs
This commit is contained in:
parent
6bf329d68d
commit
4f68a0933c
1026 changed files with 331404 additions and 60 deletions
19
www/extras/yui/examples/connection/php/weather.php
Normal file
19
www/extras/yui/examples/connection/php/weather.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?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