Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] wiekosc obrazka na zew. sererze
--gość--
post
Post #1





Goście







Chcialbym pobrac info o rozmiarze obrazka znajdujacego sie na zew. serwerze, czy moge to zrobic jakos inaczej niz po naglowku content-size? nie chce pobierac calego obraza...
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
bim2
post
Post #2





Grupa: Zarejestrowani
Postów: 1 873
Pomógł: 152
Dołączył: 9.04.2006
Skąd: Berlin

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


Nie odczytasz. Dla przykładu:
Cytat
http://blog.chwedziak.pl/files/sky.jpg

GET /files/sky.jpg HTTP/1.1
Host: blog.chwedziak.pl
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: pl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://blog.chwedziak.pl/
Cookie:

HTTP/1.1 200 OK
Date: Thu, 06 Nov 2008 19:42:16 GMT
Server: Apache
Vary: Host
Last-Modified: Tue, 28 Oct 2008 09:12:55 GMT
Etag: "10d4585-8ff7-45a4ca723d3c0"
Accept-Ranges: bytes
Content-Length: 36855
Content-Type: image/jpeg


Ten post edytował bim2 6.11.2008, 20:44:31
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: 18.10.2025 - 10:15