R
RobertoSV
Guest
Hello,
I've a dedicated server and all the domains of the machine are managed by me.
I'd like to access to a files from one domain from other with PHP, example...
I'd like to access to:
c:\inetpub\vhosts\domain1.com\httpdocs\pictures\00000.jpg
FROM a file thumb.php in:
c:\inetpub\vhosts\domain2.com\httpdocs\thumb.php
file_exists($file); --> returns false but the file exists, this could be a permissions or safe_mode issue http://php.net/manual/es/function.file-exists.php
If I try the same from the same app dir works well.
The safe_mode of PHP is disabled, I've tried to set permissions to ALL but it doesn't work.
Any help will be appreciated.
Thanks in advance.
I've a dedicated server and all the domains of the machine are managed by me.
I'd like to access to a files from one domain from other with PHP, example...
I'd like to access to:
c:\inetpub\vhosts\domain1.com\httpdocs\pictures\00000.jpg
FROM a file thumb.php in:
c:\inetpub\vhosts\domain2.com\httpdocs\thumb.php
file_exists($file); --> returns false but the file exists, this could be a permissions or safe_mode issue http://php.net/manual/es/function.file-exists.php
If I try the same from the same app dir works well.
The safe_mode of PHP is disabled, I've tried to set permissions to ALL but it doesn't work.
Any help will be appreciated.
Thanks in advance.