Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Duomėnų bazės klaidos

Parašė ewl· 2012 Bal. 12 20:04:30
#8


	function header($size,$seek_start=null,$seek_end=null) {
		header('Content-type: ' . $this->mime);
		header('Content-Disposition: attachment; filename="' . $this->filename . '"');
		header('Last-Modified: ' . date('D, d M Y H:i:s \G\M\T' , $this->data_mod));
 
		if ($this->data_section && $this->use_resume)
		{
			header("HTTP/1.0 206 Partial Content");
			header("Status: 206 Partial Content");
			header('Accept-Ranges: bytes');
			header("Content-Range: bytes $seek_start-$seek_end/$size");
			header("Content-Length: " . ($seek_end - $seek_start + 1));
		}
		else
		{
			header("Content-Length: $size");
		}
	}

1. 139 eilutė prasideda header('Content-type: ...
2. 140 eilutė prasideda header('Content-Disposition: ...
3. 141 eilutė prasideda header('Last-Modified: ...
4. 153 eilutė prasideda header("Content-Length ...


@ob_end_clean();
		$old_status = ignore_user_abort(true);
		@set_time_limit(0);
		$this->bandwidth = 0;
 

5. 183 eilutė prasideda $old_status ...

Visos klaidos yra 1 poste.

Redagavo ewl· 2012 Bal. 15 10:04:25