일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- UTF-8
- HTML
- OOP
- 경영
- Session
- post
- 웹하드순위
- date
- Apache
- Arrays
- 웹하드추천
- Laravel
- string
- jquery
- function
- Ajax
- curl
- php
- JavaScript
- Forms
- variables
- Regex
- MySQL
- 무료다운로드쿠폰
- composer-php
- 전략
- JSON
- file-upload
- Linux
- Today
- Total
목록php (415)
개발! 딱 깔끔하고 센스있게!
나 는 다음 과 같은 문자열 이 있다. Hello welcome 나 는 전선 이 하나 있다. [0] => Array ( [First Name] => John [Last Name] => Smith ) 제 가 해 야 할 일 은 문자열 을 가 져 오고 배열 의 실제 텍스트 로 바 꾸 는 것 입 니 다
푸 시 알림 (APNS) 을 수행 하기 위해 PHP 류 를 개발 해 야 합 니 다.인증서 (pem) 가 있 습 니 다. 인터넷 에서 의 다양한 튜 토리 얼 을 실행 하려 고 시도 하지만 스 트림 소켓 을 사용 하여 ssl: / gateway. sandbox. push. apple. com: 2195 시 에 도 오류 가 발생 했 습 니 다. $apnsHost = 'gateway.sandbox.push.apple.com'; $apnsPort = 2195; $apnsCert = 'apns-dev.pem'; $streamContext = stream_context_create(); stream_context_set_option($streamContext, 'ssl', 'local_cert', $apnsCert)..
제 이 슨 방식 으로 POST 데 이 터 를 받 아 보 려 고 합 니 다.나 는 그것 을 구 부 렸 다. curl -v --header 'content-type:application/json' -X POST --data '{"content":"test content","friends":[\"38383\",\"38282\",\"38389\"],"newFriends":0,"expires":"5-20-2013","region":"35-28"}' http://testserver.com/wg/create.php?action=post PHP 에 있어 서 제 코드 는: $data = json_decode(file_get_contents('php://input')); $content = $data->{'content'..
이 오 류 를 삭제 할 수 없습니다: 비 대상 호출 멤버 함수 format () 그래서 저 는 구 글 을 계속 검색 해서 스 팟 오 버 플 로 우 같은 좋 은 소식 을 얻 었 습 니 다. 나 는 비슷 한 일 을 하려 고 했 지만 실패했다.이것 은 나의 코드 입 니 다: $temp = new DateTime(); /*ERROR HERE*/ $data_umat['tanggal_lahir'] = $data_umat['tanggal_lahir']->format('Y-m-d'); $data_umat['tanggal_lahir'] = $temp; 그래서 내 가 실 수 를 해 봤 는데 만약 에 내 가 이렇게 하면: $data_umat['tanggal_lahir'] = date("Y-m-d H:i:s"); 날 짜 는 ..
저 는 대상 을 대상 으로 프로 그래 밍 하 는 개념 을 배우 기 시 작 했 습 니 다. 함수 로 작 성 했 습 니 다. 그것 은 일 을 잘 하지만, 나 는 내 가 정확하게 하 는 지 아 는 것 에 관심 이 있다. 이것 은 나의 코드 입 니 다: class Database{ const DB_HOSTNAME = 'localhost'; const DB_USERNAME = 'root'; const DB_PASSWORD = 'password'; const DB_NAME = 'shop'; protected $_db_connect; protected $_sql; protected $_result; protected $_row; function db_connect(){ $this->_db_connect = mysql..