upgrading to newer versions

This commit is contained in:
JT Smith 2007-07-05 04:20:03 +00:00
parent e1a0b462a1
commit 4d9af2c691
1271 changed files with 0 additions and 539033 deletions

View file

@ -1,3 +0,0 @@
<?php
print_r($_GET);
?>

View file

@ -1,3 +0,0 @@
<?php
print_r($_POST);
?>

View file

@ -1,18 +0,0 @@
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
$num = mt_rand(0,10);
sleep($num);
echo('<span>This request responded in '.$num.' seconds. </span>');
?>

View file

@ -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;
?>