RE: [PHP-WIN] local drive

2002-02-21 Thread Svensson, B.A.T. (HKG)
IL PROTECTED] >Subject: RE: [PHP-WIN] local drive > > >hi.. > >thnx a bunch... yet to try it out ..but hv 1 more question... >the contenttype is gonna vary...PDF/image/excel file etc.. > >I can send the the content type dyanmically right?? as i hv a >field

RE: [PHP-WIN] local drive

2002-02-21 Thread Sandeep Murphy
[mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 21 de Fevereiro de 2002 18:48 To: Sandeep Murphy; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] local drive Ok, I'll assume the file that you want to send is an image and that the image is in a variable named $Image. As Svensson mentionned

RE: [PHP-WIN] local drive

2002-02-21 Thread Olivier Hubert
o:[EMAIL PROTECTED]] >Sent: quinta-feira, 21 de Fevereiro de 2002 17:39 >To: Sandeep Murphy; [EMAIL PROTECTED] >Subject: Re: [PHP-WIN] local drive > > >Hi, > > Do you know the mime type of the document? If so, you could simply >send the file through HTTP e.g. when

RE: [PHP-WIN] local drive

2002-02-21 Thread Sandeep Murphy
please, wud be grateful..:) sands -Original Message- From: Olivier Hubert [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 21 de Fevereiro de 2002 17:39 To: Sandeep Murphy; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] local drive Hi, Do you know the mime type of the document? If

Re: [PHP-WIN] local drive

2002-02-21 Thread Olivier Hubert
Hi, Do you know the mime type of the document? If so, you could simply send the file through HTTP e.g. when the user presses the button, instead of accessing a web he/she accesses a script that will send the information contained in the database field. If you like I could send you sam

RE: [PHP-WIN] local drive

2002-02-21 Thread Svensson, B.A.T. (HKG)
Before sending the file, send the typical HTTP header information: Content-Disposition: attachment; filename=Fubar.txt. And the content type info: text/plain or whatever format that is suitable. You can check www.w3.org for more details on exactly what you need in the header. Doing that shou