I have a php programme whereby clients subscribe to and download my newsletter. I charge for these newsletters, so I want to keep them inaccessible from external processes. So they're kept in a directory C:\prefletters\
My downloading procedure indicated an error, so I adjusted the php settings inside Plesk, restarted the server and tried again. Same error.
I adjusted the php.ini file indicated by phpinfo() by adding the line:
open_basedir = C:/Inetpub/vhosts/prefinfo.com\;C:\Windows\Temp\;C:\prefletters\
... following which I restarted the server ...
... and I still get the same error as always:
Warning: filesize() [function.filesize]: open_basedir restriction in effect. File(C:\prefletters\prefLetter.pdf) is not within the allowed path(s): (C:/Inetpub/vhosts/prefinfo.com\;C:\Windows\Temp\;C:\prefletters\) in C:\Inetpub\vhosts\prefinfo.com\prefletter\download.php on line 56
******************************
Why is this? How can I modify open_basedir properly?
My downloading procedure indicated an error, so I adjusted the php settings inside Plesk, restarted the server and tried again. Same error.
I adjusted the php.ini file indicated by phpinfo() by adding the line:
open_basedir = C:/Inetpub/vhosts/prefinfo.com\;C:\Windows\Temp\;C:\prefletters\
... following which I restarted the server ...
... and I still get the same error as always:
Warning: filesize() [function.filesize]: open_basedir restriction in effect. File(C:\prefletters\prefLetter.pdf) is not within the allowed path(s): (C:/Inetpub/vhosts/prefinfo.com\;C:\Windows\Temp\;C:\prefletters\) in C:\Inetpub\vhosts\prefinfo.com\prefletter\download.php on line 56
******************************
Why is this? How can I modify open_basedir properly?