HTML5でキャプチャした画像をPHPサーバに送信して保存する方法です。 これによってWebブラウザ上で撮った画像をサーバに送信、保存することが可能です。 以前のHTMLでカメラから映像、画像を取得する方法を参照してください。 HTML5 getUserMedia APIでカメラが使ってみる Javascript側に以下を追加。 キャプチャ画像を撮影する後にさらに関数を追加してください。 // Ajaxにて画像データを送信する var saveSnapshot = function() { var hostUrl= 'http://localhost/save.php'; // データ送信先 $.ajax({ url: hostUrl, type:'POST', dataType: 'json', data : {img : document.getElementById('img').s