I am getting a base64 encoded JPEG string via a POST request to my web service. I want to decode it and save it in the filesystem. How can I achieve this using PHP 5.3. I am
If you are sure the image will always be jpg then you can simply use: file_put_contents();