You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
220 B

<?php
$ch = curl_init('https://datenspuren.de/2019/fahrplan/schedule.xml');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
file_put_contents('schedule/schedule.xml', $output);