Ver. 10.4.4
I have been tring to access files outside of the domain root without success.
I tried various custom open_basedir settings in the PHP SETTINGS of the domain including entering 'none' and adding another path such as D:/domain but still got the 'open_basedir restriction in effect' error.
As a test I set the open_basedir field to D:/Plesk and tried the following :-
$idir = is_dir("D:/Plesk/VHOSTS/mydomain.com/cgi-bin"); which was succesful.
However if I remove the '/cgi-bin' i.e. :-
$idir = is_dir("D:/Plesk/VHOSTS/mydomain.com"); I get the following error.
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(D:/Plesk/VHOSTS/domain.com) is not within the allowed path(s): (D:/Plesk) in D:\Plesk\VHOSTS\mydomain.com\httpdocs\retfiles.php
This seems strange, it looks like nomatter where open_basedir is set I can only acces files withinin the domain root. This does not agree with what I have read elsewhere.
Can anybody help?
Many thanks
I have been tring to access files outside of the domain root without success.
I tried various custom open_basedir settings in the PHP SETTINGS of the domain including entering 'none' and adding another path such as D:/domain but still got the 'open_basedir restriction in effect' error.
As a test I set the open_basedir field to D:/Plesk and tried the following :-
$idir = is_dir("D:/Plesk/VHOSTS/mydomain.com/cgi-bin"); which was succesful.
However if I remove the '/cgi-bin' i.e. :-
$idir = is_dir("D:/Plesk/VHOSTS/mydomain.com"); I get the following error.
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(D:/Plesk/VHOSTS/domain.com) is not within the allowed path(s): (D:/Plesk) in D:\Plesk\VHOSTS\mydomain.com\httpdocs\retfiles.php
This seems strange, it looks like nomatter where open_basedir is set I can only acces files withinin the domain root. This does not agree with what I have read elsewhere.
Can anybody help?
Many thanks