Results 1 to 3 of 3

Thread: [RESOLVED] File attributes for my photo album

  1. #1

    Thread Starter
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Resolved [RESOLVED] File attributes for my photo album

    Hi, I am adding some stuff to my photo album and I could use some help. I would like to display something under each folder listing like the size or the number of sub directories or files.

    example "photo_album/College/DormRoom/photo1.jpg"
    example "photo_album/College/Parites/photo5.jpg"
    example "photo_album/Family/Reunion/photo1.jpg"

    My script currently displays all the second folders (the College and Family level) and I would like it to display the number of directories under it (DormRoom reunion etc) level.

    The script then displays all the sub folders for that current folder. So it they clicked College it would display 2 links, DormRoom and Parites. I want that to list the size and the number of images. I would rather not go in and open every folder and file. Thanks for the help.
    Kevin | New England Iced Over | http://www.kevincawleyjr.com

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: File attributes for my photo album

    What is the problem? Where is the error? Do you have any code?
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Re: File attributes for my photo album

    I dont have any code, I am not sure if it is even possible. I have folders on my web server. I want to be able to display on the screen each main folder and then under it the number of folders and files within it.

    Like in windows if you right click on a folder and click properties, you see a field called "Contains" and it usually has something like "2 files, 4 folders" along that lines. I would like to be able to do this is PHP on my webserver.

    example "photo_album/College/DormRoom/photo1.jpg"
    example "photo_album/College/DormRoom/photo3.jpg"
    example "photo_album/College/Parites/photo5.jpg"
    example "photo_album/Family/Reunion/photo1.jpg"

    so under the title College on my screen it wil display "3 files, 2 folders" and under Family it will display "1 file, 1 folder"

    Is it possible to get these types of properties?
    Kevin | New England Iced Over | http://www.kevincawleyjr.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
  •  



Click Here to Expand Forum to Full Width