[ka-Map-dev] [Bug 1587] New: [ka-Map!] Add .pdf extension to
filename for PDF output
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Fri Sep 8 05:59:53 EDT 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1587
Summary: [ka-Map!] Add .pdf extension to filename for PDF output
Product: ka-Map
Version: 0.3
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: core
AssignedTo: ka-map-dev at lists.maptools.org
ReportedBy: dmorissette at mapgears.com
In htdocs/tools/print/print_map.php around line 257, could we add a .pdf
extension to the name that is passed to the $pdf->Output() format, e.g.:
$pdf->Output($oMap->name.'.pdf','I');
If we follow the source, we see that adding a .pdf extension would trigger the
following header where $name is the name passed to the Output() function:
header('Content-disposition: attachment; filename="'.$name.'"');
Adding .pdf to $name should be okay to get the browser to use a .pdf extension
for the file by default.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the ka-Map-dev
mailing list