Diese Fehlermeldung kommt bei mir, wenn ich das Skript ausführe.
PHP:
<?php
error_reporting(E_ALL);
if(!$_POST):
echo "<center>";
echo "Dateipfad: ";
echo "<form action=\"\" method=\"post\">";
echo "<input type=\"file\" name=\"path\"> <br><input type=\"submit\" value=\"laden\">";
echo "</form>";
echo "</center>";
endif;
if($_POST):
$datei = $_POST["path"];
copy($datei, "./temp/".$datei.".tmp");
$open = fopen("./temp/".$datei."tmp", "r");
echo "<textarea cols=\"80\" rows=\"20\">";
echo htmlentities($open);
echo "</textarea>";
//echo $datei;
endif;
?>