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.getH eaderField("Sho rtCut");
ByteArrayInputS tream bis = new ByteArrayInputS tream (imageBytes,
0,imageBytes.le ngth);
BufferedImage bim = ImageIO.read(bi s);
bim = bim.getSubimage (0,0,bim.getWid th(),bim.getHei ght()-12);
how to do the same in php?
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.getH eaderField("Sho rtCut");
ByteArrayInputS tream bis = new ByteArrayInputS tream (imageBytes,
0,imageBytes.le ngth);
BufferedImage bim = ImageIO.read(bi s);
bim = bim.getSubimage (0,0,bim.getWid th(),bim.getHei ght()-12);
how to do the same in php?
Comment