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

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Tue Dec 12 16:36:36 CET 2006


Jürgen Wind a écrit :
> 
> 
> 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', ''
> );
> 
> 

FAQ 1.11 says
"Assuming that the restriction allows you to open files in the current 
directory ('.')"

so IMO you need the dot into your open_basedir directive.






More information about the Developers mailing list