<p>
<?php
$filename = $_GET['package'];
echo readfile("$filename.txt");
?></p>
This is a part of my html, and I want to use this url to read the filename of a txt:
http://example.com/something.html?package=new
if I am using this, the html must show the contents of new.txt, but nothing.
I've set error_reporting(-1)
but there is no error.
The URL is http://repo.cydie.com/depictions/2.html just see the source code
What was my error?