You are here: Re: help on image header « PHP Programming Language « IT news, forums, messages
Re: help on image header

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация