on my page there are some link.
when i want to click on link ,it will ask me for a download that file.
after that i specify path and file is downloaded.
how can this is possible?
please help me ravi
i think this is what you're looking for...replace the value of $file with the real values to the file to download.
$file = "path/to/yourfile/file.zip"; header("Content-Disposition: atachment; filename=$file"); header("Content-Type: application/octet-stream"); header("Content-Length: ".filesize($file)); header("Pragma: no-cache"); header("Expires: 0"); readfile($file); fclose($fp);