Vot vse chto tam bylo poleznogo....
PHP Code:
header ("HTTP/1.1 200 OK");
header ("Date: " . $this->getGMTDateTime ());
header ("X-Powered-By: PHP/" . phpversion());
header (HDR_X_SCRIPT);
header ("Expires: Thu, 19 Nov 1981 08:52:00 GMT");
header ("Last-Modified: " . $this->getGMTDateTime ($this->fileTime) );
header ("Cache-Control: None");
header ("Pragma: no-cache");
header ("Accept-Ranges: bytes");
header ("Content-Disposition: " . $this->httpContentDisposition . "; filename=\"" . $this->fileName . "\"");
header ("Content-Type: " . $this->httpContentType);
if ($this->httpContentDescription)
header ("Content-Description: " . $this->httpContentDescription );
header ("Content-Length: " . $this->contentSize);
header ("Proxy-Connection: close");
header ("");
Na skol'ko ya ponyal nado dobavit'
header ("Accept-Ranges: bytes");
No tak ya proboval paru dnej nazad; NE POMOGLO