How can the EVA (Eingabe Verarbeitung Ausgabe) principle be applied to solve the issue of including content on specific pages in PHP?

Issue: To include specific content on certain pages in PHP, we can use the EVA (Eingabe Verarbeitung Ausgabe) principle, which stands for input, processing, and output. We can achieve this by checking the current page's URL and conditionally including the desired content based on that. PHP Code Snippet:

<?php
// Get the current page's URL
$current_url = $_SERVER['REQUEST_URI'];

// Check if the current page is the specific page where content should be included
if ($current_url == '/specific-page.php') {
    include 'specific-content.php';
}
?>