Page 1 of 1

problems with id3_get_tag

Posted: Wed Jan 24, 2007 9:51 am
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.

Posted: Wed Jan 24, 2007 9:58 am
by feyd
The script probably took too long to respond. 1800 files to process often takes a while.

Posted: Wed Jan 24, 2007 10:01 am
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?