[Phpmyadmin-devel] insert/update row with file contents
Jürgen Wind
jwind at gmx.de
Tue Dec 12 17:00:56 CET 2006
Marc Delisle wrote:
>
> 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.
>
>
i don't think so, php.ini says:
; open_basedir, if set, limits all file operations to the defined directory
; and below.
;---8<---
open_basedir = /HTdocs
;TESTING
and i have pma in D:\HTdocs\pmaxxxx
--
View this message in context: http://www.nabble.com/insert-update-row-with-file-contents-tf2807721.html#a7835825
Sent from the phpmyadmin-devel mailing list archive at Nabble.com.
More information about the Developers
mailing list