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

Jürgen Wind jwind at gmx.de
Tue Dec 12 17:34:43 CET 2006




Jürgen Wind wrote:
> 
> 
> 
> Marc Delisle wrote:
>> 
>> FAQ 1.11.
>> 
>  
> that doesn't help (at least not under windows) :
> Warning: fopen() [function.fopen]: open_basedir restriction in effect. 
> File(D:\php1B0.tmp) is not within the allowed path(s): (/HTdocs) 
> in D:\HTdocs\PmaTrunk\libraries\tbl_replace_fields.inc.php on line 45
> ---8<---
> Inserted rows: 1
> Warning (1265): Data truncated for column 'c1' at row 1
> 
> SQL query:INSERT INTO `blobUplTest` ( `c1` , `DATE` , `blobF` ) 
> VALUES (
> 'after ./tmp creation FAQ 1.11 ;)', '0', ''
> );
> 
> 
ok,
my upload_tmp_dir was not inside open_basedir = /HTdocs
but this should only be used if the file comes from the "browse/upload from
local disk form"
-- 
View this message in context: http://www.nabble.com/insert-update-row-with-file-contents-tf2807721.html#a7836557
Sent from the phpmyadmin-devel mailing list archive at Nabble.com.





More information about the Developers mailing list