Does anyone know if it's possible to have file_get_contents() accept a file handle?
$handle=fopen("/tmp/file","r");
file_get_contents($handle);
This doesn't seem to work for me, it generates an error about first
parameter needing to be a string.
I've tried:
file_get_contents('{$handle}');
But that doesn't work either...
Thanks,
jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

