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

[email protected] (Jesse Schalken)
Newsgroups php.general
Message-ID <CAF1yvATcUoy_NAW0WPOTvrQZgvZTQNWj6GAeOarUt+gX4YGW-Q@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.