Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6126753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:24:58+00:00 2026-05-23T16:24:58+00:00

I have various projects going on that I need to document and then display

  • 0

I have various projects going on that I need to document and then display pictorial progress on. It is set up as project\year\month\pic.jpg… I was planning on having in the root of the section a index.php that would list the directorys and create a link that when clicked would pass the project\ directory to a listing.php page. With the listing php it would read the contents of project\ the files in that directory would make the initial page content. The listing.php would then read the \project\year\month\ directorys in order. at the bottom of the listing.php page would be an href=year\month. if one of the links to the year-month is clicked it would open another page that would view the pictures in abc-123 order. it would have a dropdown for selecting other year/month’s and a next/previous button.

I get the readdir / scandir part and can list a single dir eaisly enough. I have no idea how to make the callback work for that or if/how to make dynamic global arrays to store the info in. memory comsumption isnt to troubling for me as the directorys are 2-3 deep only a couple projects have 40k or so images. the average looks to be 3k or less photos

If php is a bad way of doing this then what would be a good way so that the listing.php type page is always current and the display pages so I dont have to worry about having it updated via script every so often.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:24:58+00:00Added an answer on May 23, 2026 at 4:24 pm

    You’ll want to use iterators, probably – see this question and it’s answer: PHP recursive directory path

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have various php projects developed on windows (xampp) that need to be deployed
I have various projects that had files with SVN history in them. I recently
I feel like this is quite delicate, I have various folders whith projects I
I have created an MSBuild tasks for building my projects, but for various reasons
I have my project folder, for instance, myWeb . In it there are various
In my Java project, I have a vector of various types of Traders. These
We have various servers that have many directories shared. It's easy enough to look
We have various spreadsheets that employ deliciously complicated macros and third party extensions to
I have various pieces of generated HTML/JS that I load into Activity with WebView#loadDataWithBaseURL.
My Case: I'm working on a system that will need to create various X12

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.