Is it possible to send an resource id from say a imagecreatefromjpeg via a query string to a img src tag ?
For some reason I cannot get this resoruce Id to go through the session variable, and I start the session and everything correct. I don't know what is gong on, but is this possible through _GET[]?
Thanks
How do you encode a resource Id intothe query string?
Moderator: General Moderators
From the manual on Session Handling
Warning
What you could do is save the image to a file... And then open that image again.. And thus recieve the handle to the image again...
Warning
Some types of data can not be serialized thus stored in sessions. It includes resource variables or objects with circular references (i.e. objects which passes a reference to itself to another object).
What you could do is save the image to a file... And then open that image again.. And thus recieve the handle to the image again...