eddy556 Posted July 16, 2007 Share Posted July 16, 2007 Hi, I have a PHP script which displays all the mp3 files within a folder to users on a webpage. I also have another script which reads through each of these files IDE tag in order to display the length of each file next to its name on the webpage. However this can cause a while for the page to load as it must go thru each file separately and read its tag. I know there are other sites on the web that do this without long page loads....how do they do this? I was thinking there must be a way to go through each file say once a day and then when the user views the page they are just viewing the results of the latest 'crawl'. Any ideas much appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
paul2463 Posted July 16, 2007 Share Posted July 16, 2007 when the files are uploaded to the site check for its length in time and store that as another column in the database then you are pulling a value from a database instead of waiting for the realtime data everytime hope that helps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.