rest-webservice があり、画像を base64 文字列としてアップロードし、php を使用して Web サーバーでデコードしたいと考えています。
私のコード:
if (isset($para['picture']) or isset($para['filetype']) )
{
if (isset($para['picture']) and isset($para['filetype']))
{
if (!($para['filetype'] == 'jpg' || $para['filetype'] == 'png'))
{
$arr['Code'] = 617;
$arr['Message'] = $msg->getMessage(617);
$response->body = json_encode($arr);
return $response;
}
echo $para['picture'];
$bin = base64_decode(str_replace(' ', '+', $para['picture']));
if (strlen($bin) >(524288*2))
{
$arr['Code'] = 624;
$arr['Message'] = $msg->getMessage(624);
$response->body = json_encode($arr);
return $response;
}
$uid = $dbmodel->getUid($sid);
if($uid<1)
{
$arr['Code'] = 699;
$arr['Message'] = $msg->getMessage(699);
$response->body = json_encode($arr);
return $response;
}
$file = fopen($_SERVER['DOCUMENT_ROOT']."/img/".$uid.".".$para['filetype'], 'w');
fwrite($file, $bin);
fclose($file);
$dbmodel->insertPicture($uid,URL_ROOT."/img/".$uid.".".$para['filetype']);
}
else
{
$arr['Code'] = 616;
$arr['Message'] = $msg->getMessage(616);
$response->body = json_encode($arr);
return $response;
}
DBModel :
function insertPicture($uid,$link)
{
$result = mysql_query("select link from USER_PICTURE where USER_ID=$uid");
if (mysql_num_rows($result)==1)
{
$row = mysql_fetch_array($result);
$row['link'];
$split = explode("/img/", $row['link']);
unlink($_SERVER['DOCUMENT_ROOT']."/img/".$split[1]);
}
$result = mysql_query("INSERT INTO USER_PICTURE (user_id,link) VALUES ($uid, '$link')ON DUPLICATE KEY UPDATE link='$link'");
if ($result)
{
return true;
}
return false;
}
私は自分のWebサービスを次のように呼び出します:
sid=3rcsg42ekbiats33uf2jto6u16&picture=/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUF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gCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiID/9k=&filetype=jpg
notepadd++ と mimetype プラグインを使用して、画像を base64 に変換します
アップデート:
PHP の画像パラメータ:
/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAEEAQQDASIAAhEBAxEB/8QAHQABAAEFAQEBAAAAAAAAAAAAAAECAwQGBwUICf/EAD0QAAEDAwIEBAQEBAQGAwAAAAEAAgMEBREGIQcSMUETUWFxCBQikTKBobEVI0LRJWLB4RYXMzRSckSi8f/EABwBAQABBQEBAAAAAAAAAAAAAAABAgQFBgcDCP/EADQRAAIBAwMCBAQDCAMAAAAAAAABAgMEEQUhMQYSE0FRYSJxgZEUQqEVFjIzscHR8CPh8f/aAAwDAQACEQMRAD8A/VNERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQBERAEREAREQEIXYVLngYVD3HrhAXOcYTnCx/Ez02TmyfX26ISZHOCcAqenqsfmPmFWHFpyhBeRUNkyVWgIQqUQBFCZQEoo5h5qOYHugKlCpc/HXZOcY6oCpSqQ7IU8w80BKKljw5OYeYQFSKAQVKAhSoUoAijupQBFClAEREAREQBERAWTgFCMgqBv/dSMgY6oCwWEHZT+P8PsrrhnHRM+uyE5LIyDuce6vN3aFBaCD0ypY3lQE4OfI+qrY76VRzEeqAZ2P7IQXA4JzBU8mdhj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7Kk5wd9+2UJILgfLHRWnuBAwPuFWGkHcAEjfG6gtODsPRQySkDcFqyYRk5237K0zmGM9lkRjp5BSQy6Om/VFWzPL0RCkrUb5UogIIypREAREQBERAUEOLgdsfqqlKIAoUogCp3yqkQBR0UogCIiAIiIAoKlEBTg49VQYznzV1EBY8J2MYUeE7AGP1WQiE5MYQvz0291SaZx7fqstEGTDNM/s39VBppCNm/qs1EGTCbTPA/D+qvxxub2V5EIIHRFKIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiID/9k=
問題:
DB リンクは正しく設定されますが、画像は webroot に表示されません。
助けてください