On Jun 1, 2011, at 9:54 AM, Jim Giner wrote:
Well - the code works just fine as is and that's all I care about.
Richard's comments - the url in my header(Location....) statement
a pdf file, not a php file, so the target is not sending any headers
know of ).
The server will send the appropriate headers for files like that. If
you want to see it, try doing a wget or curl and make sure to snag the
headers as well (or instead) of the actual file.
curl -O -D headers.txt
HTTP/1.1 200 OK
Date: Wed, 01 Jun 2011 18:28:28 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Mon, 03 Dec 2007 02:54:08 GMT
without doing anything special.
(no, i don't advocate going around picking locks. it's just useful
info to have...)
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php