Hello,
I'm busy with some script on a windows IIS machine.
While using a activeX dll it's possible to store a image inside an object.
According an example in VBS its possible to write this data into an image with a ADO Stream Object.
Is this possible to to with php?
This is the (not working) code:
$ado_obj = new COM("ADODB.Stream") or die("ado cannot!");
$ado_obj->Type=1;
$ado_obj->open;
$ado_obj->Read($img);
//$img is the object holding the data
$ado_obj->SaveToFile("image.jpg");