The errors
- Code: Select all
Warning: include(/test/test_file.php): failed to open stream: No such file or directory in E:\xampp\htdocs\test.php on line 3
Warning: include(): Failed opening '/test/test_file.php' for inclusion (include_path='.;E:\xampp\php\includes') in E:\xampp\htdocs\test.php on line 3
main php code
- Code: Select all
<?php include "/test/test_file.php"; ?>
Included file code in a folder test
- Code: Select all
<?php echo "passed"; ?>