You are here: Re: how do you open a file with quote marks in the file name on Linux? « PHP Programming Language « IT news, forums, messages
Re: how do you open a file with quote marks in the file name on Linux?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация