php(8)
-
[PHP] 캔버스 이미지 업로드
// 웹캠 사용하기 참고글 https://ddochi-dev.tistory.com/entry/HTML-%EC%9B%B9%EC%BA%A0-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0 // script // PHP $file = $_POST['file']; list($type, $file) = explode(';',$file); list(,$file) = explode(',',$file); $file = base64_decode($file); $filename = "파일명.jpg"; $savedir = "파일경로"; file_put_contents("{$savedir}{$filename}",$file);
2020.06.23 -
[PHP] flush를 이용한 디버그 메세지 출력
'; ob_flush(); flush();}for($i=1;$i
2020.04.03 -
[PHP] 메모리 무제한 설정 2020.04.03
-
[MySQL] INSERT 중복 방지 2020.03.25
-
[MySQL] 데이터가 있으면 INSERT, 없으면 UPDATE 2020.03.25
-
[PHP] base64 데이터를 이미지로 저장하기 2020.03.20