티스토리 뷰
xe 댓글을 외부에서 다는 방법 입니다.
댓글을 파싱할때 유용하게 사용될겁니다.
<?
$module_srl=199;
$document_srl=204;
define('__XE__',true);
require_once("../../config/config.inc.php");
$oContext=&Context::getInstance(); $oContext->init();
$oCommentController=&getController('comment');
$obj->module_srl=$module_srl;
$obj->document_srl=$document_srl;
$obj->nick_name='gary';
$obj->content='bb';
$obj->parent_srl=292;
print_r( $oCommentController->insertComment($obj,true) );
?>
댓글을 파싱할때 유용하게 사용될겁니다.
<?
$module_srl=199;
$document_srl=204;
define('__XE__',true);
require_once("../../config/config.inc.php");
$oContext=&Context::getInstance(); $oContext->init();
$oCommentController=&getController('comment');
$obj->module_srl=$module_srl;
$obj->document_srl=$document_srl;
$obj->nick_name='gary';
$obj->content='bb';
$obj->parent_srl=292;
print_r( $oCommentController->insertComment($obj,true) );
?>
'XE(XpressEngine) 팁' 카테고리의 다른 글
| xe 직접 file down & insert & replace (0) | 2018.07.10 |
|---|---|
| 카페24에서 xe 이전(마이그레이션) 하는 방법 (1) | 2017.12.20 |
| xe 중복로그인 방지 하는 방법 (0) | 2017.07.13 |
| XE 인증세션 DB 사용 (0) | 2017.07.11 |
| xe 다국어 사이트 만드는 방법 (0) | 2017.06.28 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- proc
- php
- Python
- 이클립스
- 파이썬
- XE
- 인포믹스
- JDBC
- ocjap
- esql
- C언어
- webix
- 프로씨
- 라이믹스
- 스크래핑
- EC
- xe애드온
- ocajp
- KG
- XE3
- 문자열
- 자바 smtp
- 파싱
- 오라클
- 플러터
- 포인터
- xe addon
- C
- MySQL
- 자바
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
