Re: File downloading?

From: Date: Tue, 27 Feb 2001 23:59:48 +0000
Subject: Re: File downloading?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41917@lists.php.net to get a copy of this message
Great, thanks. I looked at the file(), but it sounded like is was just for local file use. > > Is it possible to send a file to a browser? > > Sure. > > file(); > > > I would like to allow people to download a file, but I don't > > want to give away the path to the file, so a normal link > > wouldn't work. > > In that case: > > Header("Content-type: application/octet-stream"); > file("whatyouwanttosend"); > > > ( I am not sure if my first email went through, I got an > > error back about the mailbox being full) > > I didn't see it ... > > Jason > > -- > Jason Murray > jasonm@melbourneit.com.au > Web Design Team, Melbourne IT > Fetch the comfy chair!

« previous php.general (#41917) next »