Post ProjectBuyersProgrammersFAQForumContactRSS
      MEMBER LOGIN
      SERVICES & FEATURES
  • Post a Project
  • Signup
  • Job Listings
  • Featured Projects
  • Certified Members
  • Top Programmers
  • Affiliate Program
  • RSS Feeds
  •    THE 20 LATEST PROJECTS
    Need User Account Page Created
    Index Page Design
    Psd To Joomla Template
    Drupal Theme Creation Mod Ins
    Posts And Simple Content Uk
    Usa Appraiser Directory
    Website With A Slide Show
    Data Entry
    A Unique Web Design
    Flash Update/reconstruction
    Simple Flash - Need It Asap
    Abcdesign
    Quick Php Job...
    Php Site Fixes
    Image And Text Scrapping
    Css Design For Script Pages
    Need 45 Articles Written
    Paid Subscriptions
    Online Yard Sale/example Given
    Rewrite 30 Articles-long Term
     
    Project: System Configuration
    ID: 1217054750
    Post Similar ProjectManage Your Project

    PROJECT DETAILS
    Status: Closed (Chosen Programmer: adev)
    Budget: N/A
    Created: 7/26/2008 at 2:45 EST
    Closed: 8/15/2008 at 3:48 EST
    Project Creator: logic5050
    Rating: 10.00/10 (43 reviews)
    Description: I have my own dedicated server with full root access. I host two very similar but separate domains on the server. I would like to be able to store files in one shared directory that can be accessed by both domains.

    Both web sites are social communities where members can upload photos and documents. I would like members to be able to upload their photos and documents from either of the two domains and have all of the files available in both web sites.

    I spoke to one system admin a long time ago (unfortunately I've lost touch with him) and he said this:

    >>> "It is possible to store files in one shared folder, which will be accessible from all domains. You can simply create a folder on server (for example: /var/www/files or /var/www/data or something else), add it to php "trusted" paths and use it physical path in all domains."


    Both web sites have a general.php file that has all of the web site settings and parameters. You can set the paths to the upload directory using these general.php pages.

    For example:

    function get_upload_dir_pics()
    {
    return get_web_root_dir() . "/members/pics";
    }

    I want to know if you can set the path on one general.php page to essentially point to the real directory on the other domain so files can be accessed and saved from both domains.

    Let me know if this is possible of you have other ideas to solve this problem.

    Thanks.


    Job Type:


    View Message Board for this Project Messages Posted: 7


    PROJECT BIDS
    Programmers Bid Delivery Within Time of Bid
    Rating
    adev $13 1 day 7/31/2008 at 17:09 EST
    10.00/10
    (1 review)
    Please check the Private Message Board. Thank you.
    xous $15 0 days 7/30/2008 at 17:04 EST
    (No Feedback Yet)
    Hi, You can use a shared physical path as you mentioned or you could cheat and just symlink one directory to the other. I can either provide instructions on how to do either method or do it for you.
    em1ncan $30 1 day 7/29/2008 at 21:02 EST
    (No Feedback Yet)
    easy..
    envio $35 1 day 7/26/2008 at 6:20 EST
    10.00/10
    (4 reviews)
    Detail in my pmb
    nidhi $80 2 days 7/26/2008 at 13:59 EST
    9.23/10
    (47 reviews)
    quality work
    fandar2 $90 1 day 7/26/2008 at 5:42 EST
    9.91/10
    (103 reviews)
    Hi, i have over 8 years experience as Linux admin. I can do it for you. Thank You
    unknownsoftware $100 1 day 7/26/2008 at 5:29 EST
    9.76/10
    (159 reviews)
    Escrow payment required... http://www.unknownsoftware.ro
    goblet $100 2 days 8/5/2008 at 16:34 EST
    7.00/10
    (1 review)
    symbolic link in linux will be used to point to the directory. Although will need to see your php files, to check how you websites handles the files. is it via db or via direct path.
    mysticserver $125 1 day 7/26/2008 at 7:10 EST
    10.00/10
    (3 reviews)
    US Based, 10 years php experience, 25 years programming experience.

    Copyright © 2001 - 2008
    ScriptLance is a trade-mark of
    R3N3 International Inc
    Site MapRSSPrivacy PolicyTermsReport ViolationsAffiliatesFAQForumContact Support
    Web Design by: DevFly.com