I'm currently using PHPExcel 1.6.7
I have PHP script that generates images according some arguments. It is available by link like
Is there any ways to include such images in project?
I can access this script directly from the filesystem. I tried to pass arguments like
$objDrawing->setPath("test.php arg1=val1 arg2=val2 arg3=val3"); but it looks like
"test.php arg1=val1 arg2=val2 arg3=val3" is a filename, not file with arguments.
Well, I can fetch it by file_get_contents() or something else, save the file, add to the project and delete it. I can rather add timestamp and/or random value to avoid file name collisions. but... I think this isn't a good idea at all.
Probably it would be better to add images stream (that are got by file_get_contents()) directly to the project avoiding saving files. But I didn't find any methods like that.