Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $name=$_POST["id"];
- $image=$_POST["image"];
- $decodedImage=base64_decode("$image");
- file_put_contents("images/" . $name . "/" .$name . ".JPG" , $decodedImage);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement