KonBon
Aktives Mitglied
Thread Starter
- Dabei seit
- 11.02.2003
- Beiträge
- 4.691
- Reaktionspunkte
- 21
Hi,
hab da ein Problem mit meinen Kontaktformular.
Das Formular funktioniert zwar tadellos aber
es steht in der ersten Reihe:
So, in Reihe 186 und folgend steht folgendes:
Was meint tmp_name?
und warum wird da in der 2ten Reihe 'rb' geschrieben?
Bin Ratlos!
Ich bin php Noob. Früher hat das Formular schonmal auf dem gleichen Webspace funktioniert, ohne Fehler.
Hier zum Formular
http://www.mac4live.de/kontakt/kontakt.php
hab da ein Problem mit meinen Kontaktformular.
Das Formular funktioniert zwar tadellos aber
es steht in der ersten Reihe:
PHP:
Warning: file_exists() [function.file-exists]: Unable to access in /home/www/htdocs/mac4live.de/kontakt/kontakt.php on line 186
So, in Reihe 186 und folgend steht folgendes:
PHP:
if (file_exists($tmp_name)){
if(is_uploaded_file($tmp_name)){
$file = fopen($tmp_name,'rb');
$data = fread($file,filesize($tmp_name));
fclose($file);
$data = chunk_split(base64_encode($data));
}
Was meint tmp_name?
und warum wird da in der 2ten Reihe 'rb' geschrieben?
Bin Ratlos!
Ich bin php Noob. Früher hat das Formular schonmal auf dem gleichen Webspace funktioniert, ohne Fehler.
Hier zum Formular
http://www.mac4live.de/kontakt/kontakt.php