|
Posted by Michael Fesser on 10/19/07 01:34
..oO(lawrence k)
>On Oct 18, 8:38 pm, lawrence k <lkrub...@geocities.com> wrote:
>
>> I've got a client that is a music studio and they've several thousand
>> mp3s that tend to have file names like this:
>>
>> Adrian Orange - Bitches Is Lord - 13 - Don't Get Used To It.mp3
>>
>> The quote mark in that file name is giving me trouble.
>>
>> The music studio asked me to write a script that could read all the
>> metadata out of their mp3s and then store the info in a database.
>> Using the getID3 library, I've had an easy time with all the files
>> that don't have quote marks in their names:
>> [...]
>>
>
>Oh, strange. Apparently I just needed stripslashes. That's all. So
>weird.
I don't think so. You should only need stripslashes() if magic quotes
are enabled (can be checked with get_magic_quotes_gpc()) to remove them.
No magic quotes, no stripslashes().
Micha
Navigation:
[Reply to this message]
|