This is the function of extbasic 2:
- Code: Select all
$lvl_text = file_get_contents($_POST['filename'].'.php');
No i've made a html-file to post "filename" into template.php but it doesn't give anything. This is whats in the file:
- Code: Select all
<html>
<body>
<form action="http://www.hackthissite.org/missions/extbasic/template.php?lvl=2" method="post">
<input type="text" value="index" name="filename" size="30" />
<br />
<input type="submit" value="Send" />
<input type="reset" value="Reset" />
</form>
</body>
</html>
What did I forget or what mistake have I made?




