HTTP Status Codes

Some common status returned by HTTP/1.1 (taken from this document). 200 OK The request has succeeded. 301 Moved Permanently The requested resource has been assigned a new permanent URI and …

PHP: Stream Download

A general php code to download any type of file: content-type defines the type of file being sent. application/octet-stream is used for any kind of files. content-length indicates the size …