Dear Friends,
I found a solution for this one , my source code is
<!-- --------------- code starts ----------------------- -->
pagedownload.php
<?php
if(isset($GET["downaction"]))
{
header("Content-type: application/octetstream");
header("Content-Disposition: attachment; filename=".$GET["file"]);
@readfile($filename);
}
?>
<html>
<body>
<a href='pagedownload.php?downaction=filedownload&file_name=hello.doc'><font size=2 face=verdana>
download</font></a>
<!-- --------------- code ends ----------------------- -->
but i have one problem when i click on download it is giving the alert box with open,save,cancel,moreinfo and when i click on save it is saving as pagedownload instead of hello.doc
how can i solve this one
regards
bvsureshbabu