Wie downloade ich eine Datei von einer URL mit PHP?
Der Download einer URL ist mit PHP recht einfach umsetzbar:
$url = 'https://ekiwi-scripts.de/antispam/spam.php'; $content = file_get_contents($url);
In „$content“ ist anschließend der Inhalt der URL in Textform enthalten. Im Fehlerfall hat „$content“ den Wert „false“.