Last active
April 8, 2016 14:04
-
-
Save korvus/cc56927c6608f71a61d2 to your computer and use it in GitHub Desktop.
Example how receiving post request from krayon Addon
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 | |
file_put_contents($_POST['namePicture'], base64_decode($_POST['picture64encoded'])); | |
echo $_POST['namePicture']; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment