|
Posted by Jerry Stuckle on 07/02/07 03:35
shotokan99 wrote:
> 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?
>
Look at the $_GET array, i.e. $_GET['ShortCut'];
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|