Re: [PHP] fopen over a network

2002-12-05 Thread Joakim Andersson
Dara Dowd wrote: Thanks for the advice lads but I realise I should have been clearer. I know about header(etc..) so displaying the download dialog isn't the problem, it's how to get to the file on the file server and then open it. The file server isn't a web server. This is probably ridiculously

Re: [PHP] fopen over a network

2002-12-04 Thread Dara Dowd
CTED]> Date: Wed, 4 Dec 2002 19:10:31 + (GMT) To: Elkan <[EMAIL PROTECTED]> Subject: Re: [PHP] fopen over a network > > Please reread the documentation found here: > > http://www.php.net/header > > It has a pdf file as an example, modify according > to y

Re: [PHP] fopen over a network

2002-12-04 Thread Philip Olson
Please reread the documentation found here: http://www.php.net/header It has a pdf file as an example, modify according to your needs. Regards, Philip On Wed, 4 Dec 2002, Elkan wrote: > Couldn't you set the Mime-Type on the server for the correct extenstion? > > Leif K-Brooks wrote: > >

Re: [PHP] fopen over a network

2002-12-04 Thread Elkan
Couldn't you set the Mime-Type on the server for the correct extenstion? Leif K-Brooks wrote: > Link them to a page like this to download the file: > > header("Content-type: application/octet-stream"); > //Code to display file > ?> > > Dara Dowd wrote: > > >Hello, > >I'd like a user to be able d

Re: [PHP] fopen over a network

2002-12-04 Thread Leif K-Brooks
Link them to a page like this to download the file: Dara Dowd wrote: Hello, I'd like a user to be able download a file from a file server on my LAN. Using works ok, but this simply displays the file in the browser and I want to force the download dialog box to appear. So now i have , and

Re: [PHP] fopen over a network

2002-12-04 Thread Jason Wong
On Wednesday 04 December 2002 16:21, Dara Dowd wrote: > Hello, > I'd like a user to be able download a file from a file server on my LAN. > > Using works ok, but this simply > displays the file in the browser and I want to force the download dialog > box to appear. Just ask the users to right-cli