juso.tar
다운로드

출처 : https://postcodify.poesis.kr/

 

블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,
ImageCopyResized > imagecopyresampled
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,
preg_match_all("/[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}/", $string, $r);
echo $r[0][0];

'php, codeigniter' 카테고리의 다른 글

도로명 주소 open api  (0) 2015.03.26
이미지 리사이즈 함수 변경(고화질)  (0) 2015.03.23
php-image-magician  (0) 2015.03.21
폼 전송 후 [뒤로가기] 오류 수정  (0) 2015.03.16
괄호() 안의 내용만 추출  (0) 2015.02.04
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,

php-image-magician-v1.0.zip
다운로드

* php_image_magician.php를 인클루드 후에 사용

include $_SERVER['DOCUMENT_ROOT']."/php_image_magician.php";
$magicianObj = new imageLib('sample_images/racecar.jpg');
$magicianObj -> resizeImage(100, 200);
$magicianObj -> saveImage('output_1.1.png', 100);
http://phpimagemagician.jarrodoberto.com/
https://github.com/Oberto/php-image-magician

 

 

 

블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,

 

 

<?php
session_cache_limiter("private_no_expire");
?>

* 위와 같은 설정으로 해결할 수 있으며 session_start() 전에 선언해야 한다.

'php, codeigniter' 카테고리의 다른 글

날짜만 추출하기  (0) 2015.03.23
php-image-magician  (0) 2015.03.21
괄호() 안의 내용만 추출  (0) 2015.02.04
파일 다운로드, 보안 적용  (0) 2015.01.23
아이피[대역폭] 접근제한  (0) 2015.01.20
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,
<?php
$string = "abc(123)";
preg_match_all("/\(.*?\)/", $string, $matches);
echo $matches[0][0];
?>
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,