Guten Morgen,
ich habe ein Problem beim Fileupload. Es erscheint nämlich beim Versuch dazu die Fehlermeldung "Warning: Unable to open './phpZmxLG5' for reading: No such file or directory". Und hier das Programm:
<?
if ($thefile=='')
{
?>
<form action="http://www.seemannskneipe.de/upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="thefile"><input type="submit" name="Submit" value="Hochladen">
</form>
<?
}
else
{
if (($thefile_type == "image/gif" ) || ($thefile_type == "image/pjpeg") || ($thefile_type == "image/jpeg" ))
{
if ($thefile_size < (200 * 200))
{
$PfadName = dirname ($PATH_TRANSLATED); $NeuerName = $PfadName."/memberpics/".$thefile_name;
copy ($thefile, $NeuerName );
}
}
}
?>
Ich hoffe, ihr könnt mir weiterhelfen.
Ciao!