RE: [PHP] Download script - sometime works sometime not

2001-11-08 Thread Jason Murray

> Its works for file .html or.zip or .tar or .tar.gz
> But it is not for text file..
> Could you recommend how I download text file ?
> What do I have to do in my scripts...?
> 
> I read the manual about HTTP functionsand search through 
> mailing list
> about header functions
> but still no clue..
> Thank you...

If you send a text file, MSIE will probably view it anyway. Netscape
will behave.

Alternative? Send a completely madeup mime type, forcing MSIE to
go into download mode.

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Download script - sometime works sometime not

2001-11-08 Thread Gede

Its works for file .html or.zip or .tar or .tar.gz
But it is not for text file..
Could you recommend how I download text file ?
What do I have to do in my scripts...?

I read the manual about HTTP functionsand search through mailing list
about header functions
but still no clue..
Thank you...

- Original Message -
From: "speedboy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 07, 2001 3:16 PM
Subject: Re: [PHP] Download script - sometime works sometime not


> > My problem,...this script works with somefile but sometime it does not !
> > Is the problem related to php.ini or apache configuration ?
>
> I think you'll find it's a browser problem. I have given up on trying to
> do anything like this. It just doesn't work except for very simple
> browsers. I tested it on lynx and it's perfect. On IE and Netscape,
> Mozilla you get varying results.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]