|
JavaScript
|
|
|
8년 전
|
조회 7,919
|
|
기타
|
|
|
8년 전
|
조회 2,364
|
|
웹서버
|
|
|
8년 전
|
조회 2,624
|
|
기타
|
|
리자
|
8년 전
|
조회 7,231
|
|
기타
|
|
리자
|
8년 전
|
조회 5,257
|
|
웹서버
|
|
리자
|
8년 전
|
조회 6,354
|
|
PHP
|
|
|
8년 전
|
조회 5,886
|
|
jQuery
|
|
|
8년 전
|
조회 3,396
|
|
jQuery
|
|
|
8년 전
|
조회 2,329
|
|
jQuery
|
|
|
8년 전
|
조회 2,960
|
|
MySQL
|
|
리자
|
8년 전
|
조회 3,128
|
|
jQuery
|
|
|
8년 전
|
조회 2,466
|
|
jQuery
|
|
|
8년 전
|
조회 2,694
|
|
jQuery
|
|
|
8년 전
|
조회 4,425
|
|
PHP
|
|
|
8년 전
|
조회 4,358
|
|
jQuery
|
|
|
8년 전
|
조회 4,152
|
|
jQuery
|
|
|
8년 전
|
조회 2,777
|
|
jQuery
|
|
|
8년 전
|
조회 2,293
|
|
jQuery
|
|
|
8년 전
|
조회 2,424
|
|
jQuery
|
|
|
8년 전
|
조회 3,177
|
|
jQuery
|
|
|
8년 전
|
조회 3,004
|
|
jQuery
|
|
|
8년 전
|
조회 2,363
|
|
jQuery
|
|
|
8년 전
|
조회 1,683
|
|
jQuery
|
|
|
8년 전
|
조회 2,599
|
|
jQuery
|
|
|
8년 전
|
조회 2,436
|
|
jQuery
|
|
|
8년 전
|
조회 2,274
|
|
jQuery
|
|
|
8년 전
|
조회 2,194
|
|
jQuery
|
|
|
8년 전
|
조회 1,903
|
|
jQuery
|
|
|
8년 전
|
조회 1,985
|
|
jQuery
|
|
|
8년 전
|
조회 2,109
|
댓글 1개
대용입니다. ㅎㅎㅎ
새로만들기 귀찮아서 ㅋㅋㅋ
# 사용방법
[code]
<?php
// 클래스 호출
include_once('./rocketchat.class.php');
// 클래스 생성(서버접속)
$rcl = new RCLog('https://로캣쳇주소/', '아이디', 비밀번호', '비공개그룹 아이디');
// 메시지 발송
$Send = $rcl->send("```php
<?php
phpinfo();
");
/*
send(메시지, 별칭, 이모지(:grinning:))
예> $Send = $rcl->send(print_r($_REQUEST, true), '[전달된 REQUEST]', ':regional_indicator_r:');
*/
// 메시지 발송결과
echo ($Send === true?'성공':'실패');
echo '<hr>';
// 해당 비공개 그룹의 메시지(기본 20개 출력)
$rcl->print_r($rcl->GetMsg());
// 해당 비공개 그룹의 메시지 100개 출력
$rcl->print_r($rcl->GetMsg(100));
[/code]