Re: [Linux-programlama] dosya resim mi?

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Erkin Tek (erkintek@fotograf.web.tr)
Date: Tue 11 Jul 2006 - 17:01:54 GMT


Ben hep getimagesize kullanıyorum?

array getimagesize ( string filename [, array &imageinfo] )
Returns an array with 4 elements.
Index 0 contains the width of the image in pixels.
Index 1 contains the height.
Index 2 is a flag indicating the type of the image: 1 = GIF, 2 = JPG, 3 = PNG,
4 = SWF, 5 = PSD, 6 = BMP, 7 = TIFF(intel byte order), 8 = TIFF(motorola byte
order), 9 = JPC, 10 = JP2, 11 = JPX, 12 = JB2, 13 = SWC, 14 = IFF, 15 = WBMP,
16 = XBM.
Index 3 is a text string with the correct height="yyy" width="xxx" string that
can be used directly in an IMG tag.

Pazar 9 Temmuz 2006 16:11 tarihinde, binan şunları yazmıştı:
> hep kullandigim fonksiyondu...
> unuttummm..
> acaba bilen varmi?
> yardimci olursaniz cok sevinirim
>
> iyi calismalar
>
> Not: phpde dosya ' nın resim olup olmadığını kontrol eden bir fonksiyon
> lasim

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.