Einzelnen Beitrag anzeigen
Alt 20.05.2003, 13:43   #4
käptn
Inventar
 
Registriert seit: 04.11.2001
Alter: 45
Beiträge: 2.150


Standard

Nein.

PHP-Code:
$fh fopen($_FILES['foo']['tmp_name'], 'rb');
$file null;
while (!
feof($fh)){
  
$file .= fread($fh256);
}
fclose($fh);
// eventuell $file = addslashes($file);
mysql_query('INSERT INTO tbl (BLOBfield) VALUES ("'.$file.'")'); 
Keine Garantie, da ich sowas nicht mache...

HTH

~
____________________________________
LOL - Mein erstes Post im Programmier Forum

MACINTOSH - Most Applications Crash, If Not The Operating System Hangs
käptn ist offline   Mit Zitat antworten