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
I am trying:
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 domain?
Thanks
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
I am trying:
PHP:
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 domain?
Thanks