add all files

This commit is contained in:
Rucus
2026-02-17 09:29:34 -06:00
parent b8c8d67c67
commit 782d203799
21925 changed files with 2433086 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<php
$httpCall = 'www.google.com/ig/api?weather=' . $postal;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $httpCall);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
if (strpos($output, 'problem_cause') === false) {
$xml = new SimpleXMLElement($output);
$weather = $xml[0]->weather->current_conditions;
echo 'Current Temperature: ' . $weather->temp_f;
}
?>