일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- codeigniter3
- 영카트
- 후크
- config
- 안드로이드
- jquery
- 그누보드
- ajax
- Database
- javascript
- rairen
- 함수
- 설정
- 헬퍼
- php
- html
- CI3
- APK
- jw player
- 코드이그나이터
- function
- phpDocumentor
- API
- mysql
- MSsql
- FCM
- 라이렌
- 옵션표
- 웹 프로그래밍
- CodeIgniter
- Today
- Total
목록php (17)
프로그램 개발서
PHP 버전이 5.4인데 푸시 알림을 보내려면 http v1 으로 마이그레이션을 해야하는 상황! 하지만 인터넷 검색하면 초반에 나오는 내용은 php7나 8등의 상위버전 내용이라서 원하는 내용을 찾을 수 없었다. 여러가지를 알아보다 내가 사용한 방법으로 php-jwt를 이용한 방법이다. 1. 깃 허브 파이어베이스 레포지터리 중 php-jwt를 들어가서 자신의버전에 맞는 버전을 찾아 다운받는다.나의 경우 php 5.4.16 버전에서 사용가능한 버전이 필요한 상황릴리즈를 확인해보니6.1버전부터 PHP >= 7.1이상만 지원하고 그 밑으로는 지원이 중단된 상황!따라서 6.0.0 버전을 다운로드!GitHub - firebase/php-jwt: PHP package for JWT 2. 다운로드 jwt를 압출풀고 ..
원문 https://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.todo.pkg.html @todo @todo Document changes that will be made in the future Gregory Beaver Copyright 2002, Gregory Beaver (phpDocumentor 1.0+) @todo information string [unspecified format] DescriptionUse @todo to document planned changes to an element that have not been implem manual.phpdoc.org @todo 향후 발생할 변경 사항을 문서..
원문 https://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.version.pkg.html @version @version Version of current element Gregory Beaver Copyright 2002, Gregory Beaver (phpDocumentor 0.1+) @version versionstring [unspecified format] DescriptionDocuments the version of any element, including a page-level block NEW v1.2 - @version is now inhe manual.phpdoc.org @version 설명 페이지 ..
원문 https://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.abstract.pkg.html @abstract @abstract Document an abstract class or method Gregory Beaver Chuck Burgess Copyright 2002, Gregory Beaver (phpDocumentor 1.1+) @abstract DescriptionUse the @abstract tag to declare a class as abstract, as well as for declaring what methods must be redefin manual.phpdoc.org @abstact phpDo..
1. directory_map(); 코드이그나이터3에서 사용되던 함수로 특정 경로의 폴더와 파일들 목록 함수 얻기용으로 가져다 쓰기 좋아서 유용하게 사용 중 if ( ! function_exists('directory_map') ) { function directory_map($directory_path, $directory_depth = 0, $hidden = false) { if ( $fp = @opendir($directory_path) ) { $file_data = array(); $new_depth = $directory_depth - 1; $directory_path = rtrim($directory_path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; wh..

json_last_error() 확인 https://www.php.net/manual/en/function.json-last-error.php PHP: json_last_error - Manual use this code with mb_convert_encoding, you can json_encode some corrupt UTF-8 chars function safe_json_encode($value, $options = 0, $depth = 512) { $encoded = json_encode($value, $options, $depth); if ($encoded === false && $val www.php.net json_last_error_msg() 확인 https://www.php.net/m..

if (!function_exists('usable_email')) { /** * 사용가능 이메일 여부 * * @param string $email * @return bool */ function usable_email($email): string { return (preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $email) !== false) ? true : false; } }