problems with id3_get_tag

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Li0rE
Forum Commoner
Posts: 41
Joined: Wed Jun 07, 2006 6:26 am

problems with id3_get_tag

Post by Li0rE »

Hello, for some reason I just can't get the function id3_get_tag to work more than a few times in a loop. If I do a loop of one folder, it works and gets all of the ids of the songs, but when I apply it to my music directory crawling script, it says connection in browser was reset. Keep in mind if it worked it would be scanning and indexing about 1800 songs. Please help, I don't understand why it isn't working.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

The script probably took too long to respond. 1800 files to process often takes a while.
Li0rE
Forum Commoner
Posts: 41
Joined: Wed Jun 07, 2006 6:26 am

Post by Li0rE »

You would think but if I do echo or mysql query in the song indexing function's place it takes half a second and works. Also, it doesnt time out after 10 seconds or anything. It times out instantly. Maybe it has something to do with the function and php?
Post Reply