PHP - Include Relative Path

<?php // Include file relative to the current directory include_once __DIR__ . "/../folder/file.php";

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.