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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php