- Streams?
- php://
- http://, https://, ftp://, ftps://
- compression.gzip://, compression.bz2://
- User streams (register_streams() )
- Filters (php://filter)
<?php
/* This will output the contents of
www.example.com entirely in uppercase */
readfile("php://filter/read=string.toupper/resource=http://www.php.net");
/* This will do the same as above except it will ROT13 encode it */
readfile("php://filter/read=string.rot13/resource=http://www.example.com");
?>