728x90 php15 PHP - 캡챠(Captcha) 구현 https://beautifulhill.tistory.com/m/4 PHP 만으로 간단한 CAPTCHA 이미지를 만들어보자 CAPTCHA((Completely Automated Public Turing test to tell Computers and Humans Apart)는 사용자가 실제 사람인지 컴퓨터 프로그램인지 구분하기 위해 사용되는 기술로 주로 회원가입이나 결제 시에 보게.. beautifulhill.tistory.com 2022. 8. 7. PHP - 세션(Session) 사용 출처: https://teserre.tistory.com/8 [PHP] php 세션(Session) 사용하기 목차 세션 시작 세션 변수 사용 세션 변수 해제 세션 변수 등록 확인 세션 id 변경 세션 종료 추가 1. 세션 유지시간 추가 2. 추가 보안설정 세션(Session)은 모든 정보가 사용자 측의 컴퓨터에 저장 teserre.tistory.com 2022. 6. 1. PHP - MySQL 접속 [prepared statement 방식] $dbserver = "localhost"; $dbuser = "username"; $dbpasswd = "userpasswd"; $dbname = "mydb"; $mysqli = new mysqli($dbserver, $dbuser, $dbpasswd, $dbname); if (mysqli_connect_errno()) { die("Connection failed: " . $conn->connect_error); } $sql = "select * from board where idx = ?"; $stmt = $__mysqli->stmt_init(); $stmt = $__mysqli->prepare($sql); $stmt->bind_param("ss", $use.. 2022. 6. 1. 이전 1 2 다음 728x90