Created
May 16, 2015 15:56
-
-
Save ivanlemeshev/76c8c307b6b0604764f9 to your computer and use it in GitHub Desktop.
PHP data uri to file
From http://stackoverflow.com/questions/6735414/php-data-uri-to-file
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 | |
$encodedData = str_replace(' ', '+', $encodedData); | |
$decodedData = base64_decode($encodedData); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment