|
JavaScript
|
|
|
8년 전
|
조회 8,096
|
|
기타
|
|
|
8년 전
|
조회 2,474
|
|
웹서버
|
|
|
8년 전
|
조회 2,739
|
|
기타
|
|
리자
|
8년 전
|
조회 7,362
|
|
기타
|
|
리자
|
8년 전
|
조회 5,381
|
|
웹서버
|
|
리자
|
8년 전
|
조회 6,475
|
|
PHP
|
|
|
8년 전
|
조회 6,007
|
|
jQuery
|
|
|
8년 전
|
조회 3,510
|
|
jQuery
|
|
|
8년 전
|
조회 2,431
|
|
jQuery
|
|
|
8년 전
|
조회 3,085
|
|
MySQL
|
|
리자
|
8년 전
|
조회 3,232
|
|
jQuery
|
|
|
8년 전
|
조회 2,577
|
|
jQuery
|
|
|
8년 전
|
조회 2,809
|
|
jQuery
|
|
|
8년 전
|
조회 4,539
|
|
PHP
|
|
|
8년 전
|
조회 4,466
|
|
jQuery
|
|
|
8년 전
|
조회 4,257
|
|
jQuery
|
|
|
8년 전
|
조회 2,897
|
|
jQuery
|
|
|
8년 전
|
조회 2,407
|
|
jQuery
|
|
|
8년 전
|
조회 2,549
|
|
jQuery
|
|
|
8년 전
|
조회 3,274
|
|
jQuery
|
|
|
8년 전
|
조회 3,110
|
|
jQuery
|
|
|
8년 전
|
조회 2,472
|
|
jQuery
|
|
|
8년 전
|
조회 1,793
|
|
jQuery
|
|
|
8년 전
|
조회 2,702
|
|
jQuery
|
|
|
8년 전
|
조회 2,554
|
|
jQuery
|
|
|
8년 전
|
조회 2,377
|
|
jQuery
|
|
|
8년 전
|
조회 2,309
|
|
jQuery
|
|
|
8년 전
|
조회 2,014
|
|
jQuery
|
|
|
8년 전
|
조회 2,086
|
|
jQuery
|
|
|
8년 전
|
조회 2,220
|
댓글 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]