1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: PHP File Inclusion

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    0.00/5

PHP » Basics — about 2 years ago
There are times you might want to reference a particular file in another file. These is mostly common in OOP. PHP provides function which can be used to reference another file from a calling file. These function are include() and require() and we will be looking at them shortly. These functions help in creating functions, headers, footers, or elements that can be reused on multiple pages. This will help developers to make it easy to change the layout of complete website with minimal effort.

Comments

Your Comment

You must be logged in to post a comment.