Tag: Symfony
-
Post Views: 22 1. The code is as follows, set the value in the json field of mysql, and report an error: unsupported opera and types . as shown in Figure 1 2. The adjustment code is as follows 3. Implement a new JSON to the field when there is a value in the JSON field. The structure of the…
-
Post Views: 18 1. The error is reported when uploading the picture file, because the picture in GIF format is uploaded, which is treated as a JPEG format. as shown in Figure 1 2. Check the corresponding code implementation. 3. Decide to judge the extension of the file after receiving the request. Reference URL:https://github.com/symfony/symfony/blob/3.0/src/Symfony/Component/HttpFoundation/File/UploadedFile.php. Returns the original file extension. How…
