Hi,
I am trying to read a file uploaded by a simple <input type="file"> form and directly write it to a mysql blob - without saving it to the filesystem.
I tryed something like:
Code:
$input = fopen("php://input", "r");
$temp = array();
stream_copy_to_stream($input, $temp);
fclose($input);
it writes some few Bytes to the DB and there is no error, but it's not the actual file that is being written. Any ideas?
Thanks,
Toby