Re: forcing file downloads

From: Date: Wed, 12 Jun 2002 14:34:24 +0000
Subject: Re: forcing file downloads
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-101740@lists.php.net to get a copy of this message
> Justin French wrote: > <snip "force" code /> > > > 1. Is this a widely accepted practice for forcing downloads (a pop-up > window > > to download a file), given the problems with older versions of IE? > > I believe so. Don't. > > > 2. Can someone tell me what the %20 is there for? > > You can try typing http://www.foo.net/bar/of soap/he he he/ and > it may > work in some browsers. The %20 (I forget the exact explanation, sorry) > is basically code for the space. All browsers understand > http://www.foo.net/bar/of%20soap/he%20he%20he/ 20 is the hex code for a space. When the url get 'URLENCODED' any non-valid characters get converted to hex. In some (broken?) browsers a space in the URL may work but it's generally not a good idea. =C= * * Cal Evans * Techno-Mage * http://www.calevans.com *

« previous php.general (#101740) next »