Re: download pdf using php script

From: Date: Thu, 16 Sep 2004 09:31:50 +0000
Subject: Re: download pdf using php script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196842@lists.php.net to get a copy of this message
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!

« previous php.general (#196842) next »