On Mon, March 26, 2007 2:49 pm, Rahul Sitaram Johari wrote:
> header("Content-Type: application/force-download");
header("Content-type: asfdsgfhrsiu/luhgireughinfibvn");
would work equally well as application/force-download
> header("Content-Disposition: attachment; filename=".basename($F));
> @readfile($F);
> ?>
>
> $F was the filename passed as a variable.
And if $F is set to /etc/passwd what does your script hand out?
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php