|
jQuery
|
|
|
18-01-25
|
조회 4,535
|
|
JavaScript
|
|
|
18-01-24
|
조회 8,558
|
|
기타
|
|
|
18-01-24
|
조회 2,816
|
|
웹서버
|
|
|
18-01-24
|
조회 3,069
|
|
기타
|
|
리자
|
18-01-22
|
조회 7,864
|
|
기타
|
|
리자
|
18-01-22
|
조회 5,786
|
|
웹서버
|
|
리자
|
18-01-18
|
조회 6,890
|
|
PHP
|
|
|
18-01-12
|
조회 6,392
|
|
jQuery
|
|
|
18-01-10
|
조회 3,892
|
|
jQuery
|
|
|
18-01-10
|
조회 2,783
|
|
jQuery
|
|
|
18-01-10
|
조회 3,438
|
|
MySQL
|
|
리자
|
18-01-08
|
조회 3,594
|
|
jQuery
|
|
|
18-01-08
|
조회 2,928
|
|
jQuery
|
|
|
18-01-08
|
조회 3,161
|
|
jQuery
|
|
|
18-01-08
|
조회 4,881
|
|
PHP
|
|
|
18-01-05
|
조회 4,819
|
|
jQuery
|
|
|
18-01-04
|
조회 4,617
|
|
jQuery
|
|
|
18-01-04
|
조회 3,248
|
|
jQuery
|
|
|
18-01-04
|
조회 2,690
|
|
jQuery
|
|
|
17-12-06
|
조회 2,875
|
|
jQuery
|
|
|
17-12-06
|
조회 3,642
|
|
jQuery
|
|
|
17-12-06
|
조회 3,464
|
|
jQuery
|
|
|
17-12-04
|
조회 2,844
|
|
jQuery
|
|
|
17-12-04
|
조회 2,101
|
|
jQuery
|
|
|
17-12-04
|
조회 3,043
|
|
jQuery
|
|
|
17-12-04
|
조회 2,909
|
|
jQuery
|
|
|
17-11-25
|
조회 2,715
|
|
jQuery
|
|
|
17-11-25
|
조회 2,652
|
|
jQuery
|
|
|
17-11-25
|
조회 2,338
|
|
jQuery
|
|
|
17-11-24
|
조회 2,391
|
댓글 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]