|
楼主 |
发表于 2004-5-31 21:11:15
|
显示全部楼层
关于文件头是这么设置的
[PHP]
print header(-type => '$Mime');
print start_html(-title => 'File Upload',
-encoding => 'gb2312',
-head => meta({-http_equiv => 'Content-Type',
-content => 'text/html;charset=gb2312'}));[/PHP]
$Mime是在前面取的文件的类型
my $Mime = uploadInfo($File_Name) -> {'Content-Type'}; |
|