Hacker News new | ask | show | jobs
by pavel_lishin 3839 days ago
Completely lost it at

    <?php
    $THE_UNITED_STATES  = file_get_contents('states_temp.php');
    eval($THE_UNITED_STATES);
    ?>

_temp.php, evals, temporary variable names... I'm getting flashbacks.
1 comments

file_get_contents should make an http request to its own server for maximum awesomeness...

assuming the php file just echoes its own source code,which is entirely doable.