---
title: "How file is included in PHP page?"  
description: "How file is included in PHP page?"  
author: "Mark Devid"  
published: 2016-09-26  
updated: 2020-09-17  
canonical: https://www.mindstick.com/interview/23059/how-file-is-included-in-php-page  
category: "php"  
tags: ["php"]  
reading_time: 1 minute  

---

# How file is included in PHP page?

A file can be included by two methods: include() and require() with file path as its parameter.

## Answers

### Answer by Mark Devid

A file can be included by two methods: include() and require() with file path as its parameter.


---

Original Source: https://www.mindstick.com/interview/23059/how-file-is-included-in-php-page

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
