Mari Masuda wrote:
> Has anyone ever successfully used php://memory before? If so, what
> can I do to use it in my code? Thank you.
No, but I was intrigued to try it, so I tested this:
$text = 'Some text.';
file_put_contents('php://memory', $text);
echo file_get_contents('php://memory');
And it returned nothing. The docs suck on this and it apparently
doesn't work. I see others use it with fopen(), but there is no mention
of which file functions it works with and which it doesn't.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php