WordPress.org

Plugin Directory

Changeset 338327


Ignore:
Timestamp:
01/28/11 20:58:07 (3 years ago)
Author:
jmabe
Message:

fix for saving the print-pdf correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dsidxpress/trunk/client-assist.php

    r243188 r338327  
    8686 
    8787        header('Content-type: application/pdf'); 
     88        header('Content-Disposition: attachment; filename="Property-'. $_REQUEST["MlsNumber"] .'.pdf"'); 
     89        header('Content-Transfer-Encoding: binary'); 
     90        header('Accept-Ranges: bytes'); 
     91        header('Cache-control: private'); 
     92        header('Pragma: private'); 
     93        header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); 
     94         
    8895        echo($apiHttpResponse["body"]);  
    8996         
Note: See TracChangeset for help on using the changeset viewer.