실시간 환율 받아오기 (Get real-time currency information)
Code snippet to retrieve real-time currency from exchangeratesapi.io
chrislee.kr – Personal blog as bookshelves
Code snippet to retrieve real-time currency from exchangeratesapi.io
카카오 i 오픈빌더 (Kakao i Open Builder)를 이용한 플러스 친구 챗봇 (PHP + MySQL) 백엔드 프로젝트 이 프로젝트는 샘플 테스트용으로 카카오톡 플러스 친구 챗봇을 구현하기…
Time Clock Management System (Yii2 REST API + Angular 2 + Docker) Source Repo: https://github.com/chrisleekr/time-clock-management-system-yii2-rest-api-angular2-docker This is a personal project for learning Angular 2.…
When developing REST API in Yii2, I found some development environments do not populate Authorization header in the request; as a result, I was not…
Objective: AWS instances are assigned tags per instance. Need tags to be environment parameters for Apache2; thus, web application can retrieve environment parameter. Step…
INBOX: invalid remote specification (errflg=2) Got following error when use imap_open() in PHP? Notice: Unknown: Can’t open mailbox {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX: invalid remote specification (errflg=2)…
API Page: https://www.ptv.vic.gov.au/about-ptv/ptv-data-and-reports/digital-products/ptv-timetable-api/ptv-timetable-api-reference/ 1. Request API key by sending email How to register for a key and developer ID > Send an email to APIKeyRequest@ptv.vic.gov.au…
I am using Aptana Studio 3 in Mac. When I try to set PHP 5.4 environment in project settings, it does not save the changes. And…
Only use in local test MySQL. # Example MySQL config file for large systems. # # This is for a large system with memory =…
Reference: http://forum.cs-cart.com/topic/29499-speed-up-and-optimise-cs-cart-version-3/ In store root .htaccess DirectoryIndex index.html index.php <IfModule mod_rewrite.c> RewriteEngine on # Pleas note that RewriteBase setting is obsolete use it only in…
Alternative code snippet for money_format function money_format_alt($amount, $decimal, $symbol = ‘$’, $symbol_right = ”, $symbol_thousands = ‘,’, $symbol_decimal = ‘.’) { if ($amount < 0)…
To make faster webpage loading, use Gzip compress and Enable keep-alive in htaccess <ifModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </ifModule>…
To re-size images with keeping aspect ratio and fitting to certain dimensions function _create_thumbnail($actual_filepath, $folder_path, $target_filename, $width, $height) { // $this->load->library(‘image_lib’); // $image_lib_config = array(…
Draw Polygons in Google Maps and Determine whether an Address is in Polygons This sample source code uses Google Maps Javascript API V3 to draw…
업데이트 버젼 (Updated Version): 실시간 환율 받아오기 (Get real-time currency information) 실시간 환율 정보를 받기 위해 자료를 찾아보는 중, 네이버 환율 API를 발견하였다. ( [출처]…
Quoted from http://phpproxies.com/ Proxy Scripts Glype Glype is new, released just in January 2009, but it has already been downloaded 15,000 times. PHP Web Proxy…
If serialize string contains ‘&’, then the error occurs when unserialize the string. unserialize() [function.unserialize]: Error at offset 00000 of 0000 bytes Simply change…