Thread Filedownload im Browser erzwingen (18 answers)
Opened by Daniel at 2011-03-01 21:24

pq
 2011-03-01 22:10
#146165 #146165
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
nicht meta. das muss in den http-header.
Code: (dl )
1
2
3
4
Content-Type: text/plain
Content-Disposition: attachment; filename=test.sql

hier der eigentliche inhalt (nach der leerzeile)


warum willst du denn ein html-tag namens meta in einen sql-output schreiben? das ergibt ja irgendwie auch keinen sinn.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Filedownload im Browser erzwingen