Imagine the following PHP file:
<?php
$topSecret = "Something important";
?>
If I put this on a server running the standard LAMP setup, how could someone could find out $topSecret
?
If the variable is not echoed, is it vulnerable? A real application of this might be database credentials stored in the web root of a server.