I have a tabls of longblobs which hold PDF data - I have download pages that live here:
http://localhost/messages/all/52/notes/pdf
http://localhost/messages/all/52/recording/mp3
I set my content-type to PDF or MP3, but the filename comes out as just ‘pdf’ or ‘mp3’ - is there a way to force it to come out as ‘notes.pdf’ and ‘recording.mp3’?
Thanks
EDIT: Never mind:
[COLOR=#000000][COLOR=#0000BB]header[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]‘Content-Disposition: attachment; filename=“downloaded.pdf”’[/COLOR][COLOR=#007700]);
[/COLOR][/COLOR]