Hi All,
I am getting image using sockets but I received on bytes. how can I convert bytes to a image object using php
Hi All,
I am getting image using sockets but I received on bytes. how can I convert bytes to a image object using php
try:PHP Code:// assuming you've already gotten the image
// and assigned it to the var $png
// (and assuming it's a png - use appropriate content-type!)
header("Content-Type: image/png");
print $png;
is thr any way to print raw data that is coming from HTTP POST
Bookmarks