I've been struggling for the last few days to come up with a solution for my problem.
I'm trying to set up a fairly complex image uploading system.
However I'm stuck trying to copy/move the uploaded files to a subdomain.
After further digging I realized that I ran into open_basedir restriction.
What are the options, run-arounds open_basedir?
Env: Dedicated server > RHEL with Plesk
for ex paths are:
$path1 = "/var/www/vhosts/domain.com/httpdocs/new/test/test.jpg";
$path2 = "/var/www/vhosts/domain.com/subdomains/img/httpdocs/test/test.jpg";
Any ideas/advice would be greatly appreciated.
Thank you for your time!