dqb14659
2013-09-03 13:27
浏览 198
已采纳

如何在我的服务器上安装mime_mail?

How can I install it, and use it to attach photos to emails I send from my server?

I get the photos from an android app.

I got that file, mime.php, and I have no Idea what I have to do with it.

Php code:

<?php 

$target = "upload/"; 
$name="id";
$target = $target . basename( $_FILES['uploaded']['name'].$name); 

if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) 
{
echo "yes";
} 
else {
echo "no";
}
?> 
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

  • doushi4956 2013-09-03 14:46
    最佳回答
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题