Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5202154
Hits Heute: 257
max. Hits (10.07.07): 6964
User Online: 36
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

Web- Datenbank- Applikationen mit PHP und MySQL.
Web- Datenbank- Applikationen mit PHP und MySQL.

Manuals > PEAR > HTTP::head

HTTP::head

HTTP::head -- sends a "HEAD" command

Description

Sends a "HEAD" HTTP command to a server and returns the headers in an associative array.

Parameter

  • string $url - a valid absolute URL

Return value

array - an array containing the header lines or a PEAR_Error.

Example output:
Array ( [response_code] => 200 [response] => HTTP/1.1 200 OK [Date] => Tue, 25 Nov 2003 22:08:57 GMT [Server] => Apache/1.3.27 (Unix) (Red-Hat/Linux) [Last-Modified] => Wed, 08 Jan 2003 23:11:55 GMT [ETag] => "3f80f-1b6-3e1cb03b" [Accept-Ranges] => bytes [Content-Length] => 438 [Connection] => close [Content-Type] => text/html )

Note

This function can be called statically.


Copyright 1998 - 2009 by I.S.U.M.