Hi can anyone tell me how I can write data to the main www.example.com from mobile.example.com i keep getting a http write error when i try to mkdir or a file on the main domain from the subdomain??
shadiadiph
0
Junior Poster
Recommended Answers
Jump to PostYour 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.
All 4 Replies
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
shadiadiph
0
Junior Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
shadiadiph
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.