On Thu, 16 Sep 2004 16:21, Adwinwijaya wrote:

> Hello PHP Users,
> 
> I have files (that protected from direct download) and I put it
> outside public_html/ directory (outside web server directory).
> 
> and the people from outside could access the file by typing:
> www.myweb.com/download.php?filename=xzy.pdf
> 
> can someone give me hint how to do this ?
> 
> thank u

readfile with suitable headers

-- 
David Robley

He who dies with the most toys... is *still* DEAD!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to