Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2008
    Posts
    20
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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
    New Coder
    Join Date
    Mar 2008
    Posts
    20
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Fixed the problem.
    Use /home/username/domain.com


  •  

    Posting Permissions

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