hi

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • aksharmavoice@gmail.com

    hi

    I made a script to download a file. when it is executed the IE ask to
    open or save the file.
    If I first save then open file get open. But in case I click on open
    file without saving my disk it show a problem that "Can not find
    temporay file".

    header('Content-Description: File Transfer');
    header('Content-Type: application/force-download');
    header ("Content-Length: " . filesize($file_ full_path));
    header ("Content-Disposition: attachment; filename=".
    $fileData['fld_fileName']);
    header("Content-Transfer-Encoding: binary");
    readfile($file_ full_path);

    Can any help.

Working...