Hallo,
if ($file_name == "")
^Poste mal bitte den Teil des Scripts, in dem Du einen Wert für $file_name zuweist.
$file_name ergibt sich aus $file....
das ist ne vordefinierte variable....
Ja? Wo? In PHP?
http://de2.php.net/manual/de/features.file-upload.php#features.file-upload.post-method
http://de2.php.net/manual/de/configuration.directives.php#ini.register-globals
viele Grüße
Axel