-
เรื่องล่าสุด
คลังเก็บ
- กุมภาพันธ์ 2021
- ธันวาคม 2020
- กรกฎาคม 2020
- มิถุนายน 2020
- กุมภาพันธ์ 2020
- มกราคม 2020
- มีนาคม 2015
- มกราคม 2015
- ธันวาคม 2014
- พฤศจิกายน 2014
- ตุลาคม 2014
- กันยายน 2014
- สิงหาคม 2014
- กรกฎาคม 2014
- มิถุนายน 2014
- พฤษภาคม 2014
- เมษายน 2014
- มีนาคม 2014
- กุมภาพันธ์ 2014
- มกราคม 2014
- ธันวาคม 2013
- พฤศจิกายน 2013
- ตุลาคม 2013
- กันยายน 2013
- สิงหาคม 2013
- กรกฎาคม 2013
- มิถุนายน 2013
- พฤษภาคม 2013
- เมษายน 2013
- มีนาคม 2013
- กุมภาพันธ์ 2013
- มกราคม 2013
- ธันวาคม 2012
- พฤศจิกายน 2012
- ตุลาคม 2012
Monthly Archives: มิถุนายน 2013
PHP-CS-Fixer
https://github.com/fabpot/PHP-CS-Fixer Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible) ออโต้ทำโค้ดทั้งหมดของคุณให้ตรงตามมาตรฐานการเขียน เช่น indent , php tag , function http://cs.sensiolabs.org
Posted in technology
1 Comment
copy image binary data to disk
[cc lang = “php”] $image_binary_data = is the binary data $image_local_path = “/some_folder”; file_put_contents($image_local_path,$image_binary_data) [/cc]
Posted in php
Leave a comment
display image from binary data
[cc lang = “php”] $picture = is the binary data $en=base64_encode($picture); $mime=”image”; $binary_data=”data:” . $mime . “;base64,” . $en ; [/cc]
Posted in php
Leave a comment