Results 1 to 3 of 3

Thread: directory structure for saving images

  1. #1
    Join Date
    Feb 2009
    Posts
    156
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Default directory structure for saving images

    hi,
    i am working on a site, like ORKUT or FACEBOOK,
    in PHP / MYSQL
    ther can be 100s of users for this site, i want them all to give the facilityof saving PIctures as album...

    so how i can save pictures on web?
    should i need to save all the pictures in a single folder named album?

    or should i need to make seprate directory fro every user?
    i want easy access to every file for users?



    plz help soon

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Should every user have access to every uploaded image, or just to images they've uploaded? Are you looking just for an upload script or also a display script?
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Feb 2009
    Posts
    156
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Default

    no-no i have scripts to upload and display...


    but i want to know how to save images on server?

    as user name TOM want to save 10images in his album, should there be separate directory for tom? in in a common directory where all the users can upload their image files?

    restriction is possible with the help of PHP.. so it doesnot matter..

Bookmarks

Posting Permissions

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