Created
September 15, 2015 16:37
-
-
Save JburkeRSAC/ebe1e2811495794b520d to your computer and use it in GitHub Desktop.
PHP Base64 Decode text file contents
This file contains 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 | |
$str = file_get_contents("encoded.txt"); | |
#echo base64_decode($str)."\n"; | |
$lines = explode("\n",$str); | |
for($i = 0; $i < count($lines); $i++) { | |
$variable_1 = $lines[$i]; | |
echo base64_decode($variable_1)."\n"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment