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,
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*
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
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)
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:
>>
>&
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]
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
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
8 matches
Mail list logo