note 68977 deleted from function.readfile by philip

From: Date: Mon, 05 Mar 2007 06:38:05 +0000
Subject: note 68977 deleted from function.readfile by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124086@lists.php.net to get a copy of this message
Note Submitter: jhodoe at gmail dot com ---- Sorry is correcto that's.. For correct download force $url="pepe.zip"; header('Content-Description: File Transfer'); header('Content-Type: application/force-download'); header("Content-Disposition: attachment; filename=\"".basename($url)."\";"); header('Content-Length: ' . filesize($url)); @readfile($url) OR die();

« previous php.notes (#124086) next »