In this article, we’re going to discuss how you can use PHP code in your HTML pages. It’s aimed at PHP beginners who are trying to strengthen their grip on...
In this tutorial, I'll teach you how to build a simple REST API with PHP and MySQL. You’ll build a simple demo application, which allows you to fetch a list...
Sessions allow user information to be persisted across all the pages of a website or app. In this post, you'll learn the basics of session handling in PHP:...
Learn the basics of file upload in PHP. Firstly, we’ll go through the PHP configuration options that need to be in place for successful file uploads....
PHP에서 이미지 크기를 조정하는 데 사용하기 쉬운 만능 방법이 필요했던 적이 있나요? 이것이 바로 PHP 클래스가 하는 일입니다. 즉, 내부적으로 지저분한 작업을 하기 위해 호출하는 재사용 가능한 기능 말이죠. 여기서는 구조적으로 짜임새 있으면서 확장 가능한 클래스를 직접 만드는...
단일 책임(SRP; Single Responsibility), 개방/폐쇄(Open/Close), 리스코프 치환(Liskov's Substitution), 인터페이스 분리(Interface Segregation), 의존성 주입(Dependency Inversion). 코드를 작성할...