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
| /* * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
| * Get images uploaded with texteditor in base64 format * | |
| * Store this images in disk and replace src value with * | |
| * the url returing the image from the disk * | |
| * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |
| function b64toUrl ( $data ) | |
| { | |
| // Create blank dom object | |
| $dom = new \DOMDocument(); |
NewerOlder