View Single Post
Old 04-21-2010, 05:58 PM  
camperjohn64
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Location: Los Angeles
Posts: 1,531
Ok I will research the 304. Is this for HTML files also?

At the moment I am only doing this:
Code:
            header("HTTP/1.1 200 OK");
            header("Status: 200 OK");
            header("Pragma: public");
            header("Cache-control: public");
            header("Accept-Ranges: bytes");
            header('Last-Modified: Sat, 03 Mar 1973 09:46:40 GMT');
            header('Expires: Wed, 18 May 2033 03:33:20 GMT');
            header("Content-Length: " . strlen($content));
            header("Content-Type: $content_type");
            header("Connection: close");
            
            echo $content;
__________________
www.gimmiegirlproductions.com
camperjohn64 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote