I have a textbox in which a user inputs a value and a PHP script echoes it out. The Textbox is sent to the server via POST
and is saved in a variable called Temp.
If I create the output script with the below line, will the echo prevents File inclusion or arbitrary PHP injection, assuming that no validations are being done?
<?php echo $Temp; ?>