Ok,
Have a client with domains and subdomains
www.mydomain1.com
sub.mydomain1.com
They have a script that process a form under www.mydomain1.com, but need it to create a directory and file under the sub.mydomain1.com. These domains are under the same account, and the domain folders exist just like the domain name is setup.
I am trying the following from the www.domain.com form:
if (!file_exists('/sub.mydomain.com/newfolder'])) {
mkdir('/sub.mydomain.com/newfolder');
}
but I get the error: "mkdir(/sub.mydomain.com/newfolder): No such file or directory in"
So, is this error due to permissions or do I have to use something else to get to a different folder outside the form domain? Can this be done?
Thanks