tohmas ash
tohmas.ash at takashi.zzn.com
Fri May 30 17:37:57 EST 2003
hello, I'm a mod_python's newbie , and I use it with postgresql for a web application... In my software, I upload some files with a form to a bytea in postgresql, no problems for that. But after, I want to force the download via a link... Before I use PHP for my web application, I know how do that in php it's like that: " header("Content-type: application/force-download"); header("Content-Disposition: attachment; filename=$filename"); readfile("$path"); " I know how set the configuration of the "content-type" with mod_python, But I don't know how do the same whith the "Content-Disposition" ... I have found the same question in the mailing list but without answer ... so if you can help me, thanks in advance for your answer. ps: sorry for my english, I'm a french boy ^_^ Get your Free E-mail at http://takashi.zzn.com ___________________________________________________________ Get your own Web-based E-mail Service at http://www.zzn.com
|