8 AM
> To: PHP
> Subject: Re: [PHP] Download Script - Newbie Alert
>
> You can also check $HTTP_REFERER, it's much simpler
>
> Marek
>
> Clay Loveless wrote:
>
> >Something else along these lines -- I really, really wish that more
sites
> >that us
that leech all our images. Our image file URLs work
>*just* long enough for them to build their pages, and test that they look
>good.
>
>30 hours later, all the leeched images are replaced with Images Central
>logos. : )
>
>Fun!
>
>-Clay
>
>
>
>
>
>
AIL PROTECTED]>
> Date: Mon, 3 Jun 2002 20:06:42 -0400
> To: "'Philip Hess'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: [PHP] Download Script - Newbie Alert
>
> Store the files above your web root and use a PHP script to control
> access.
Store the files above your web root and use a PHP script to control
access.
Use header to set the appropriate header for the file,
header("Content-Type: application/vnd.ms-excel; name='excel'");
header("Content-Disposition: attachment; filename=" . $filename .
".xls");
then use passthru() to
4 matches
Mail list logo