PHP comes with many built-in wrappers for various URL style protocols for use with the filesystem functions such as fopen() and copy(). In addition to these wrappers, you can as of PHP 4.3.0, write your own wrappers using the stream_wrapper_register() function.
List of context options is available in the chapter Kontextoptionen und -parameter.