This is an open_basedir problem. I've searched everywhere and cannot figure out what is happening and/or how I should get around this problem.
Our ISP has safe_mode on. Fair enough. I have an application in the httpsdocs folder (SSL) that needs to write a file to the httpdocs (non-SSL) folder. A suggestion from the ISP was to use a symbolic link to the folder that I want to write to. I have since read that PHP will resolve the path and this should not work.
What I don't understand is that with the symbolic link to the other folder, my PHP script can actually create the file, once, without the open_basedir error. But if the file is already there, I get the open_basedir. Why don't I get the open_basedir the first time? Is it still not a breach of security?
How do other people get around this problem? ..where an app in SSL needs to write to the other non-SSL app in another folder?
Thanks in advance!
Sly