How can I display contents of a .txt file that is uploaded using php? I've been trying <?php echo "/file.txt" ?> and it doesnt work.
Check out this page from the manual http://www.php.net/manual/en/function.readfile.php
Thank you it worked just fine 😃