Re: Displaying a file
| From: | Ernest E Vogelsinger | Date: | Mon, 10 Mar 2003 08:31:17 +0000 |
| Subject: | Re: Displaying a file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138932@lists.php.net to get a copy of this message | ||
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 <a href="files/raceschedule.pdf" Name="Race Schedule"
>Target="_blank">here</a> 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?
--------------------[snip]--------------------
Have a look at http://www.vogelsinger.at/protected.html. If you
can't use
this little gadget I'm sure there's a lot of information in it how to serve
any file under program control.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/