...

View Full Version : Organize The Files Between Two Domains



Richy
07-15-2009, 11:47 PM
Hi,

I have lots of domain in my DREAMHOST account with same user. For example, I have a photo uploader script in B.com domain. I want that when a photo is uploaded from B.com, I want to move the uploaded file to A.com domain by the script. I tried this command in PHP;

move_uploaded_file($_FILES["file"]["tmp_name"], ".../domain.com/system/cache/temp/{$filename}");

However it is not success. How can I do this? Is it supported?

Thank you,

Richy
07-16-2009, 03:02 AM
Fixed the problem.
Use /home/username/domain.com ;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum