Posted by shotokan99 on 07/02/07 03:34
i have a web service and accessing it is done thru query string. how
to access a certain header field using php? the sample program i saw
was done in java and it goes like this:
String shortcutcode = connection.getHeaderField("ShortCut");
ByteArrayInputStream bis = new ByteArrayInputStream (imageBytes,
0,imageBytes.length);
BufferedImage bim = ImageIO.read(bis);
bim = bim.getSubimage(0,0,bim.getWidth(),bim.getHeight()-12);
how to do the same in php?
[Back to original message]
|