Files
web-development/zoesch.de/preis/test.php
Felix Zösch 07c290a453 Initial commit: Backup der Webseiten
- zoesch.de
- blitzkiste.net
- gruene-hassberge (norbert.zoesch.de)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-13 01:17:15 +01:00

23 lines
711 B
PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>EEX Forecast</title>
<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>
<body>
<?php
$preise = simplexml_load_file('XML/PowerSpotMarketAuctionResults-2015-01-01.xml');
$x=0;
$y=1;
foreach($preise->Prices->Area[1]->Hour as $prices) {
settype($prices, "float");
$prices_kWh = $prices / 10.0;
$prices_format = number_format($prices_kWh, 3,',','.');
echo $x++."-".$y++." Uhrzeit: $prices_format ct/kWh<br>";
}
?>
</body>
</html>