Re: [PHP] Displaying a file

2003-03-10 Thread Ernest E Vogelsinger
At 03:17 10.03.2003, Todd Cary said: [snip] >I want to display a file under program control in the same manner as one >would with using an >a> tag e.g. > >Click Target="_blank">here to open the Race Schedule > >In other words, if certain conditions are met,

Re: [PHP] Displaying a file

2003-03-09 Thread Justin French
on 10/03/03 3:40 PM, Todd Cary ([EMAIL PROTECTED]) wrote: > OK! This makes sense. What is the syntax to do > > b) output an appropriate header for the file type > c) pass through the actual file contents > > if I were doing an HTML file - if I were doing a PDF file? *Slaps forehead loudly*

Re: [PHP] Displaying a file

2003-03-09 Thread - Edwin
Todd Cary <[EMAIL PROTECTED]> wrote: > OK! This makes sense. What is the syntax to do Hmm, did you read (and try) the article mentioned earlier? - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mai

Re: [PHP] Displaying a file

2003-03-09 Thread Todd Cary
ROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 4:06 PM Subject: Re: [PHP] Displaying a file Change your link to something like: ... view.php will NOT be a "HTML page" -- it will be responsible for: a) some conditional stuff, like checking for a logged in user b)

Re: [PHP] Displaying a file

2003-03-09 Thread Justin French
om: "Justin French" <[EMAIL PROTECTED]> > To: "Todd Cary" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Monday, March 10, 2003 4:06 PM > Subject: Re: [PHP] Displaying a file > > >> Change your link to something like: >> >&

Re: [PHP] Displaying a file

2003-03-09 Thread Mark Tehara
On that note, how would i load an image from outside the document root? - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Todd Cary" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 4:06 PM Subject: Re: [PHP]

Re: [PHP] Displaying a file

2003-03-09 Thread Justin French
Change your link to something like: ... view.php will NOT be a "HTML page" -- it will be responsible for: a) some conditional stuff, like checking for a logged in user b) output an appropriate header for the file type c) pass through the actual file contents You would actually want to store

[PHP] Displaying a file

2003-03-09 Thread Todd Cary
I want to display a file under program control in the same manner as one would with using an >a> tag e.g. Click here to open the Race Schedule In other words, if certain conditions are met, then I want to display the file. What is the best way to do that? Many thanks. Todd -- Ariste Soft