www.webdeveloper.com
Results 1 to 2 of 2

Thread: Organize The Files Between Two Domains

  1. #1
    Join Date
    Mar 2008
    Posts
    8

    Organize The Files Between Two Domains

    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,

  2. #2
    Join Date
    Mar 2008
    Posts
    8
    Fixed the problem.
    Use /home/username/domain.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles