[Phpmyadmin-devel] insert/update row with file contents

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Tue Dec 12 15:33:40 CET 2006


Sebastian Mendel a écrit :
> Hi,
> 
> is there an option to select a file from a user directory to be filled
> into a field?

Yes, try Insert into a table containing a BLOB.

> 
> if so, than tbl_replace_fields.inc.php handles this, but it uses
> move_uploaded_file() on this file, did anybody test this this?

It has been tested a few years ago.
> 
> does this work?
> 
> move_uploaded_file() should only work on files uploaded by form ...
> 
> 

On the Insert page, the file is uploaded thru a form.

Marc




More information about the Developers mailing list