컴포저 활용
composer.json 이외의 다른 화일을 쓰고 싶을 때 리눅스 환경설정값 지정후 컴포저 실행 COMPOSER=composer.another.json composer install 파워쉘 환경설정값 넣고 아래 명령어
더 읽기Get함수 // GET 방식 함수 function get($url, $params=array()) { $url = $url.’?’.http_build_query($params, ”, ‘&’); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url);
더 읽기php.ini 에 다음 줄을 추가(또는 수정) opcache.enable=1 opcache.jit_buffer_size=100M opcache.jit=tracing
더 읽기인코딩, 디코딩 함수 사용법 customEncrypt(‘encrypt’, ‘String’); customEncrypt(‘decrypt’, ‘String’); PHP 암호화 function customEncrypt($action, $string) { $output = false; $encrypt_method = "AES-256-CBC";
더 읽기