A
Anonymous
Guest
Hi all,
I have my website hosted on a server and cannot make configuration changes. When getting the phpinfo.php, it shows that I have open_basedir restrictions on /usr/local/psa/home/vhosts/lesharfangsdegatineau.com/httpdocs
The problem is that I use a script for photo upload, and they upload the file to a temporary directory ' /tmp' on the server, but when the script comes to transfer the file from /tmp to /usr/local/psa/home/vhosts/lesharfangsdegatineau.com/httpdocs/wallpapers, i get into the problem of open_basedir restrictions.
Is there a way to script something to say that the /tmp directory is actualy at /usr/local/psa/home/vhosts/lesharfangsdegatineau.com/httpdocs/tmp and not the server /tmp location?
Nelson
I have my website hosted on a server and cannot make configuration changes. When getting the phpinfo.php, it shows that I have open_basedir restrictions on /usr/local/psa/home/vhosts/lesharfangsdegatineau.com/httpdocs
The problem is that I use a script for photo upload, and they upload the file to a temporary directory ' /tmp' on the server, but when the script comes to transfer the file from /tmp to /usr/local/psa/home/vhosts/lesharfangsdegatineau.com/httpdocs/wallpapers, i get into the problem of open_basedir restrictions.
Is there a way to script something to say that the /tmp directory is actualy at /usr/local/psa/home/vhosts/lesharfangsdegatineau.com/httpdocs/tmp and not the server /tmp location?
Nelson