Re: [PHP] show a file

2002-10-15 Thread Kevin Stone
file being displayed. So the file is a GIF then the header should read Content-Type: image/gif -Kevin - Original Message - From: "Félix García Renedo" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 11:12 AM Subject: [PH

[PHP] show a file

2002-10-15 Thread Félix García Renedo
Hello, I have to show a file pdf in a browser but its name in the filesystem is something like "name_file.file" and the file is word, pdf, gif, etc I tried to do: http://domain.org/path/to/file/'; $file = "name_file.file"; header('Content-Type: application/x'); header('