첨부파일 꼭 암호화 시켜야 하나요?
본문
첨부파일 이름 그대로 업로드하게 만들 수 있을까요?
답변 1
/bbs/write_update.php 파일에서
$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.replace_filename($filename);
여기를 이렇게 수정.
$upload[$i]['file'] = $filename;
답변을 작성하시기 전에 로그인 해주세요.