update YUI to 2.8.0r4

This commit is contained in:
Graham Knop 2009-09-21 12:54:44 -05:00
parent 27f474ec64
commit 2d28e0c0ba
2007 changed files with 344487 additions and 210070 deletions

View file

@ -0,0 +1,29 @@
<?php
/* yadl_spaceid - Skip Stamping */
// Yahoo! proxy
// Hard-code hostname and path:
define ('PATH', 'http://query.yahooapis.com/v1/public/yql');
// Get all query params
$query = "?format=json&env=http%3A%2F%2Fdatatables.org%2Falltables.env&q=";
$q = str_replace('&quot;', '"', $_GET['q']);
$url = PATH . stripslashes($query) . urlencode(stripslashes(($q)));
// Open the Curl session
$session = curl_init($url);
// Don't return HTTP headers. Do return the contents of the call
curl_setopt($session, CURLOPT_HEADER, false);
curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
// Make the call
$response = curl_exec($session);
header("Content-Type: application/json");
echo $response;
curl_close($session);
?>