Your file paths should be relative to their location in the file system. Where in the file system is the PHP file doing the writing compared to where you're trying to create the file. It should be irrelevant whether it's a different subdomain or not.
Dani
The Queen of DaniWeb
21,555 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 376
Skill Endorsements: 124
Let us know if you still can't get it working.
Dani
The Queen of DaniWeb
21,555 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 376
Skill Endorsements: 124