Hello,
Unfortuanately many functions in PHP work this stupid way - only thru a file name. If PHP had some nice streams framework like Java has, it would be possible to pipe the string thru a memory stream to this function.
__________________
onPHP5.com -
PHP5: Articles, News, Tutorials, Interviews, Software and more