fopen with nasty pathnames
| From: | Mat Harris | Date: | Sat, 11 Jan 2003 23:08:23 +0000 |
| Subject: | fopen with nasty pathnames | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-131284@lists.php.net to get a copy of this message | ||
i have a database with unix path names of mp3s like:
Patti Smith/Horses [1975]/01-Gloria.mp3
which have to keep the spaces for part of another application. If i let the shell escape them from an ls command, i can get:
Patti\ Smith/Horses\ \[1975\]/01-Gloria.mp3
but fopen will still refuse saying file not found. I have tried escaped and unescaped amnd yes, I am very sure the file is there.
How can I get fopen to accept a path like this?
cheers.
--
Mat Harrison Network Systems Administrator
mat.harris@genestate.com www.genestate.com
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]