(PHP) The include function only includes some parts of the file -
i have problem including php file. have searched on web, , troubleshooted in different ways 3 hours, can't figure out on own.
i have file called "side9test.php" code:
<?php include "styret/fil-liste.php"; ?>
the file "fil-liste.php" contains:
<?php echo "</br>"; echo file_get_contents("filsystem_navn/m_0.txt"); ?>
the file "m_0.txt" contains this:
forste mappa
the problem though, when run "side9test.php", gives me is:
</br>
i appreciate feedback!
i think file path correct, change code echo file_get_contents("filsystem_navn/m_0.txt",true);
setting true
or 1
search include path :)
Comments
Post a Comment