Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> funkcja ???
SonGoace
post
Post #1





Grupa: Zarejestrowani
Postów: 69
Pomógł: 0
Dołączył: 13.05.2002
Skąd: Sanok

Ostrzeżenie: (0%)
-----


Czy jest jakas funkcja sprawdzająca rozdzielczość pliku graficznego ? cos jak filesize ale nie wielkosc tylko rozdzielczosc :?:
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Azaghal
post
Post #2





Grupa: Zarejestrowani
Postów: 32
Pomógł: 0
Dołączył: 12.05.2002
Skąd: skoczów

Ostrzeżenie: (0%)
-----


songo... wyswietlolo ci array bo ta funkcja zwraca tablice (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) musisz uzyc ktoregos indeksu

z manuala..

Returns an array with 4 elements. Index 0 contains the width of the image in pixels. Index 1 contains the height. Index 2 a flag indicating the type of the image. 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP. Index 3 is a text string with the correct "height=xxx width=xxx" string that can be used directly in an IMG tag.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 7.10.2025 - 20:55