PHP: Calling .dat calendar data into one HTML page?


I’m using a basic blog script that posts to a .dat file.

My directory structure has one folder for each day of the month. Within each, there is the PHP page and a .dat file for the “blog” calendar entries.

I am needing to calling data from each .dat file in each folder (30 folders in each month) into one webpage.

Any suggestions?



lol, my friend asked me the same question!

Try to have an index page that will

now we want to automate the process, right?

Use incremnt (‘i++’) and WHILE operator to cycle through the number f days so you will output all your data