'ǝɯɐu$ ıɥ
Meins? Gehe mal deine ifs durch, soweit ich das sehe ist das move_uploaded_files() an der falschen Stelle...
genauer gesagt, ich denke hier liegt der Hund begraben:
if($userfile != "")
{
$userfile_name = str_replace("ä","ae",$userfile_name);
$userfile_name = str_replace("ö","oe",$userfile_name);
$userfile_name = str_replace("ü","ue",$userfile_name);
if (file_exists("shop/pics/".$userfile_name)) {
echo ("<head><META HTTP-EQUIV='refresh' content='2;URL={$_SERVER['PHP_SELF']}'>
<link href='../../Seiten/style.css' rel='stylesheet' type='text/css'></head>
<table class='info'>
<tr>
<td class='info'>Der Artikel existiert schon !</td>
</tr>
</table>");exit;
}
else {
move_uploaded_file($userfile, "shop/pics/".$userfile_name);
}
}
ssnɹƃ
ʍopɐɥs
--
“A computer lets you make more mistakes faster than any invention in human history–with the possible exceptions of handguns and tequila.”
- Mitch Radcliffe
“A computer lets you make more mistakes faster than any invention in human history–with the possible exceptions of handguns and tequila.”
- Mitch Radcliffe