This file contains 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
<?php | |
/** | |
* php database dump tool for mysql | |
* @author https://github.com/landzz | |
* @version 0.1 | |
*/ | |
error_reporting(E_ALL ^ E_NOTICE); | |
@set_time_limit(0); |
This file contains 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
#TITLE=JavaScript | |
; JavaScript syntax file written by ES-Computing, edited by https://github.com/Eartz/ based on ECMA-262 6th Edition / Draft April 3, 2015. | |
; This file is required for EditPlus to run correctly. | |
#DELIMITER=,(){}[]-+*%/="'`~!&|<>?:;. | |
#QUOTATION1=' | |
#QUOTATION2=" | |
#QUOTATION3=` | |
#LINECOMMENT=// | |
#LINECOMMENT2= |
This file contains 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
<?php | |
if ( ! function_exists('getCurlPostwithFile')){ | |
function getCurlPostwithFile($_url='', $_param=array(), $_file_name=array()){ | |
if($_url !=''){ | |
ini_set("memory_limit", "512M"); | |
$_file_data = array(); | |
foreach ($_file_name as $_key => $_val){ |
This file contains 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
<?php | |
if ( ! function_exists('getCurlPost')){ | |
function getCurlPost($_url='', $_param=array()){ | |
if($_url !=''){ | |
ini_set("memory_limit", "512M"); | |
$_headers = array( | |
"Content-Type: application/x-www-form-urlencoded; charset=utf-8" | |
); | |
$curlObj = curl_init(); |
This file contains 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
<?php | |
if ( ! function_exists('getCurlGet')){ | |
function getCurlGet($_url='', $_param=array()){ | |
if($_url !=''){ | |
$curlObj = curl_init(); | |
curl_setopt($curlObj, CURLOPT_URL, $_url.'?'.http_build_query($_param) ); | |
//curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, false); | |
//curl_setopt($curlObj, CURLOPT_SSLVERSION, 1); | |
//curl_setopt($curlObj, CURLOPT_POST, true); | |
curl_setopt($curlObj, CURLOPT_HEADER, true); |
This file contains 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
<!-- | |
2015.10.29 | |
Hong SeongChan (seongchan116@gmail.com) | |
------------------------------------------- | |
모바일 웹 페이에서 개발하고 있는 앱이 실행이 안되길래 샘플코드를 작성해 봄. | |
이 소스의 전제 조건은 uri scheme 방식이 적용된 앱을 기준으로 한다. | |
Android 앱의 경우 intent를 이용한 방식을 주로 사용했겠지만, 모바일 웹을 고려한다면 uri scheme을 적용하는게 유리하다. | |
(웹쪽 코드가 단순해 진다.) | |
아래 코드는 이러한 전제로 작성되었다. | |
--> |
This file contains 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
<?php | |
/** | |
* php directory explorer | |
* | |
* @author https://github.com/landzz | |
* @version 1.1 | |
* @link https://gist.github.com/landzz/db4037aadd44f89a0cef | |
* HTTP Digest authentication is added | |
*/ |