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

如何在我的服务器上安装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
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?