2/4 페이지 열람 중
<?php declare(strict_types=1); //모니터 제조스펙 인터페이스 interface IMonitorMaker { public function makeProduct(); } //모니터 제조스펙 데이타모델 class MonitorModel { public string $name; public int $size; function __construct($name, $size) { $this->name = $name; $this->size …
Full PHP 8 Tutorialhttps://github.com/ggelashvili/learnphptherightway-outlinehttps://www.youtube.com/watch?v=sVbEyFZKgqk&list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-array option append <?php $origin_array=['0'=>'v0','1'=>'v1']; function optionTest(array $options = []) { $options += [ …
composer create-projectslim/slimprojectnamehttps://www.youtube.com/watch?v=FYQrMr7oDv0&ab_channel=TylerPottsPSR ? =>PHP Standard Recommendation=PHP 표준 권고(PSR) = PHP 규약 제정=최근 :PSR-7HTTP Message Interfacehttps://www.lesstif.com/laravelprog/php-psr-24445325.htmlSlim Framework 4 - Quick Starthttp…
composer2.51 + php8(xampp) + slim4Slim 4 Documentationhttps://www.slimframework.com/docs/v4/[Windows 환경][composer 설치]https://getcomposer.org/download/1. php.exe 파일 위치 확인 - [ XAMPP 설치환경임]D:\xampp\php\php.exe2.Composer-Setup.exe 설치 중 아래 오류 메시지----------------------Program Output:Xdebug: [Step Debug] T…
The Simplest PHP Router[PHP 프레임워크 미 사용]아래 처럼 1번).htaccess 생성 방법으로 할수 있으나 성능 상 비권장 => 2번) 방법을 이용□ 1번)웹사이트 루트디렉토리에(index.php와 같은 위치).htaccess 파일생성RewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php [NC,L][참고]Apache mod_rewrite Introduct…
https://tcpschool.com/php/php_basic_datatypehttps://inpa.tistory.com/entry/PHP-%F0%9F%93%9A-%EB%B3%80%EC%88%98-%EC%83%81%EC%88%98-%ED%83%80%EC%9E%85MySQL데이터베이스에 PDO(PHP Data Object)https://offbyone.tistory.com/1
PHP8 + php_xdebug-3.x + Visual Studio Code Debugging1) phpinfo.php 파일로 서버에 설치된 phpinfo 페이지 로드 -> 로드화면 전체복사(CTRL+A)<?phpphpinfo();?>https://xdebug.org/wizard.php <- 이곳에 붙혀넣기해서 분석 후 제안되는php_xdebug-3.1.6-8.1-vs16-x86_64.dll 다운로드-> apm서버 php확장라이브러리 폴더에 다운 받은 dll 복사 ex)D:/xampp/php/ext 에 d…
php7 +php_xdebug 2.x.대 버전일때만 아래과정 따름 /php8 버전인 경우php_xdebug 3.x 버전일때는 아래 과정으로 안됨PHP8 +php_xdebug 3.x.버전은 => http://sebom.com/gb/bbs/board.php?bo_table=web&wr_id=48 참고1. 개발자 웹서버 phpinfo(); 결과 텍스트 전체복사[pi.php]<?php phpinfo(); ?>2.https://xdebug.org/wizard.php <- 이곳에 붙혀넣기해서 분석, dllphp_…
android api30(갤럭시10) 부터는 갤러리 저장공간에 직접접근하지 못함 -> 어플아래 폴더에 복사시킨 다음 수정/편집/전송 등 작업 가능[클라이언트에서 전송된 파일저장 PHP]<?php$fileuuid=$_POST["fileuuid"];$target_dir="uploads/";$target_file_name=$target_dir.$fileuuid;$response=array();if(isset($_FILES["file"])){if(move_uploaded_fi…
PHP -php.ini수정https://hbesthee.tistory.com/1625MYSQL - my.ini 수정[mysqld]default-time-zone='+9:00'https://jwkim96.tistory.com/23https://junho85.pe.kr/1483Apache / Mysql Restart !!* 타임존 정보테이블이 mysql db에 없을경우Asia/Seoul 인식불가하므로,첨부 압축파일안에 있는 파일들을https://dev.mysql.com/downloads/timezones.html< - 여기에서 받…