How to escape a local path so fopen() doesn't consider it a URL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fopen() supports being passed a URL for use with other "stream wrappers"
besides the local file system.

If I have a local file path that happens to look like a URL (for example, a
file called "data:foo"), what is the correct escaping or manipulation that
I have to do so that fopen() doesn't consider it a URL and it gets passed
verbatim to fopen() in C?

Thanks

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux