xe1 addon 개발시 주의 사항

Web Tech/PHP 2017. 2. 11. 00:03

class나 function 선언시 function_exists나 class_exists를 이용하지 않으면 미리보기시 해당 class나 function이 두번 선언되어서 에러가 발생할 수 있음


상수 define, defined를 이용하거나  function_exists나 class_exists를 이용하여 회피


아래 예제 코드는 xeschool 에 있는 pop opener입니다.


예제 코드

<?php

    if(!defined("__XE__")) exit();

    if(Context::get('module') == 'admin') return;


    if($called_position == 'before_module_proc') {

        // 팝업 스크립트 처리

        function getPopupScript($val) {


            if($val->content) {

                $order = array("\r\n", "\n", "\r");

                $replace = '';

                $val->content = str_replace($order, $replace, $val->content);

                $val->content = str_replace("'", '&#39;', $val->content);

            }


            $popup_content = "{id:'".$val->popup_srl."'"

                .($val->popup_type?",popup_type:'".$val->popup_type."'":"")

                .($val->content?",content:'".$val->content."'":"")

                .($val->popup_url?",url:'".$val->popup_url."'":"")

                .($val->popup_link?",link:'".$val->popup_link."'":"")

                .($val->popup_link_type?",link_type:'".$val->popup_link_type."'":"")

                .($val->open_type?",open_type:'".$val->open_type."'":"")

                .($val->top?",top:'".$val->top."'":"")

                .($val->left?",left:'".$val->left."'":"")

                .($val->width?",width:'".$val->width."'":"")

                .($val->height?",height:'".$val->height."'":"")

                .($val->exp_days?",exp_days:'".$val->exp_days."'":"")

.($val->popup_style?",popup_style:'".$val->popup_style."'":"")

.($val->popup_checkbox?",popup_checkbox:'".$val->popup_checkbox."'":"")

.($val->element_id?",element_id:'".$val->element_id."'":"")

                ."}";


            return $popup_content;

        }


        // jQuery로 팝업 열기

        function setPopupScript($popupList) {


            Context::addCssFile('./addons/popup_opener/popup_opener.css');

            Context::addJsFile('./addons/popup_opener/jquery.popup_opener.1.5.4.3.js');


Context::loadLang(_XE_PATH_.'modules/popup/lang');

$msg_xe_popup = Context::getLang('msg_popup_do_not_display');


            $addPopupScript = '<script type="text/javascript">//<![CDATA['."\n";

$addPopupScript .= "var msg_popup_do_not_display = '".$msg_xe_popup."';\n";

$addPopupScript .= 'jQuery(function(){'."\n";


            if($popupList) {

                if(!is_array($popupList)) $popupList = array($popupList);


                foreach($popupList as $val){

                    $addPopupScript .= "jQuery('<div></div>',{id:'xe_popup".$val->popup_srl."'})";

                    $addPopupScript .= ".css({'position':'absolute','width':'".$val->width."px'})";

                    $addPopupScript .= ".xe_popup(".getPopupScript($val).");\n";

                }

            }


            $addPopupScript .= '});'."\n";

            $addPopupScript .= '//]]></script>'."\n";


            Context::addHtmlFooter($addPopupScript);

        }


// 팝업 본문 구하기

function getPopupContent($document_srl) {

$oDocumentModel = &getModel('document');

$oDocument = $oDocumentModel->getDocument($document_srl);


return $oDocument->get('content');

}


if($this->module_info->module_srl) {


$oModuleModel = &getModel('module');

$isActionPopupOpen = false;


// 팝업 모듈 확인

$args->site_srl = $this->module_info->site_srl;

            $popup_module_info = $oModuleModel->getModuleInfoByMid('popup', $args->site_srl);

            if(!$popup_module_info) return;


// 유효일자 팝업 목록 구하기

$args->curdate = date("Ymd", mktime());

$output = executeQueryArray('popup.getPopupValidDate', $args);

if(!$output->toBool()) return;


if(count($output->data) > 0) {

foreach($output->data as $k => $pop) {

$pop->element_id = $addon_info->element_id;


if($pop->target_type == 'action' && $this->act == $pop->target_actions) {

$pop->content = getPopupContent($pop->document_srl);

$actionPopupList[$k] = $pop;

$isActionPopupOpen = true;

} else if ($pop->target_type == 'module') {

if ($this->module_srl == $pop->target_srl || $popup_module_info->module_srl == $pop->target_srl) {

$pop->content = getPopupContent($pop->document_srl);

$modulePopupList[$k] = $pop;

}

}

}

}


// 팝업 세팅

if($isActionPopupOpen) setPopupScript($actionPopupList);

else setPopupScript($modulePopupList);

}


    }

?>


수정 코드

<?php

if (!defined('popup_opener_addon_func_loaded')) {

define('popup_opener_addon_func_loaded', 1);


// 팝업 스크립트 처리

function getPopupScript($val) {


if ($val->content) {

$order        = array("\r\n", "\n", "\r");

$replace      = '';

$val->content = str_replace($order, $replace, $val->content);

$val->content = str_replace("'", '&#39;', $val->content);

}


$popup_content = "{id:'" . $val->popup_srl . "'"

. ($val->popup_type ? ",popup_type:'" . $val->popup_type . "'" : "")

. ($val->content ? ",content:'" . $val->content . "'" : "")

. ($val->popup_url ? ",url:'" . $val->popup_url . "'" : "")

. ($val->popup_link ? ",link:'" . $val->popup_link . "'" : "")

. ($val->popup_link_type ? ",link_type:'" . $val->popup_link_type . "'" : "")

. ($val->open_type ? ",open_type:'" . $val->open_type . "'" : "")

. ($val->top ? ",top:'" . $val->top . "'" : "")

. ($val->left ? ",left:'" . $val->left . "'" : "")

. ($val->width ? ",width:'" . $val->width . "'" : "")

. ($val->height ? ",height:'" . $val->height . "'" : "")

. ($val->exp_days ? ",exp_days:'" . $val->exp_days . "'" : "")

. ($val->popup_style ? ",popup_style:'" . $val->popup_style . "'" : "")

. ($val->popup_checkbox ? ",popup_checkbox:'" . $val->popup_checkbox . "'" : "")

. ($val->element_id ? ",element_id:'" . $val->element_id . "'" : "")

. "}";


return $popup_content;

}


// jQuery로 팝업 열기

function setPopupScript($popupList) {


Context::addCssFile('./addons/popup_opener/popup_opener.css');

Context::addJsFile('./addons/popup_opener/jquery.popup_opener.1.5.4.3.js');


Context::loadLang(_XE_PATH_ . 'modules/popup/lang');

$msg_xe_popup = Context::getLang('msg_popup_do_not_display');


$addPopupScript = '<script type="text/javascript">//<![CDATA[' . "\n";

$addPopupScript .= "var msg_popup_do_not_display = '" . $msg_xe_popup . "';\n";

$addPopupScript .= 'jQuery(function(){' . "\n";


if ($popupList) {

if (!is_array($popupList)) $popupList = array($popupList);


foreach ($popupList as $val) {

$addPopupScript .= "jQuery('<div></div>',{id:'xe_popup" . $val->popup_srl . "'})";

$addPopupScript .= ".css({'position':'absolute','width':'" . $val->width . "px'})";

$addPopupScript .= ".xe_popup(" . getPopupScript($val) . ");\n";

}

}


$addPopupScript .= '});' . "\n";

$addPopupScript .= '//]]></script>' . "\n";


Context::addHtmlFooter($addPopupScript);

}


// 팝업 본문 구하기

function getPopupContent($document_srl) {

$oDocumentModel = &getModel('document');

$oDocument      = $oDocumentModel->getDocument($document_srl);


return $oDocument->get('content');

}


}



if (!defined("__XE__")) exit();

if (Context::get('module') == 'admin') return;


if ($called_position == 'before_module_proc') {

if ($this->module_info->module_srl) {


$oModuleModel      = &getModel('module');

$isActionPopupOpen = false;


// 팝업 모듈 확인

$args->site_srl    = $this->module_info->site_srl;

$popup_module_info = $oModuleModel->getModuleInfoByMid('popup', $args->site_srl);

if (!$popup_module_info) return;


// 유효일자 팝업 목록 구하기

$args->curdate = date("Ymd", mktime());

$output        = executeQueryArray('popup.getPopupValidDate', $args);

if (!$output->toBool()) return;


if (count($output->data) > 0) {

foreach ($output->data as $k => $pop) {

$pop->element_id = $addon_info->element_id;


if ($pop->target_type == 'action' && $this->act == $pop->target_actions) {

$pop->content        = getPopupContent($pop->document_srl);

$actionPopupList[$k] = $pop;

$isActionPopupOpen   = true;

} else if ($pop->target_type == 'module') {

if ($this->module_srl == $pop->target_srl || $popup_module_info->module_srl == $pop->target_srl) {

$pop->content        = getPopupContent($pop->document_srl);

$modulePopupList[$k] = $pop;

}

}

}

}


// 팝업 세팅

if ($isActionPopupOpen) setPopupScript($actionPopupList);

else setPopupScript($modulePopupList);

}


}

posted by ned3y2k

MAMP 사용 환경에서 MySQL 쿼리 디버그 팁

Web Tech/PHP 2012. 5. 19. 01:57

혹 이것보다 좋은 방법 있으신분 공유 부탁드립니다!!!


sudo /Applications/MAMP/bin/stopMysql.sh


/Applications/MAMP/Library/bin/mysqld --defaults-file=/Applications/MAMP/tmp/mysql/my.cnf --basedir=/Applications/MAMP/Library --datadir=/Library/Application\ Support/appsolute/MAMP\ PRO/db/mysql --plugin-dir=/Applications/MAMP/Library/lib/plugin --tmpdir=/Applications/MAMP/tmp/mysql/tmpdir --log-error=/Applications/MAMP/logs/mysql_error_log.err --pid-file=/Applications/MAMP/tmp/mysql/mysql.pid --socket=/Applications/MAMP/tmp/mysql/mysql.sock --port=3306 --log=/Users/ned3y2k/log.txt&


tail -f /Users/ned3y2k/log.txt


Mac에서만 됩니다!

기타 환경에서는 참고 하셔서 명령어 좀 바꾸시길!


테스트 환경은 아래와 같습니다.


posted by ned3y2k

CGI 프로그래밍 예제

Web Tech/PHP 2012. 2. 13. 03:31
윈도우 환경에서 사용 가능한 CGI 예제입니다.
posix 환경에서도 별 차이 없을것으로 예상됩니다만 iostream 이나 namespace 쓰는 부분에서 틀릴수 있습니다.
컴파일 프로그램은 Visual Studio입니다.

#include "stdafx.h"
#include <iostream>


int _tmain(int argc, _TCHAR* argv[])
{
std::cout << "Content-type: text/html" << std::endl <<std:: endl
<< "<html>" << std::endl
<< "<head>" << std::endl
<< "<title>CGI Test" << std::endl
<< "" << std::endl
<< "<body>" << std::endl
<< "<h1><em>" << std::endl
<< "Hello, World!" << std::endl
<< "</em></h1>" << std::endl
<< "</body>" << std::endl
<< "</html>";
return 0;
}

php 작업 하는데 뭐 이런게 필요하냐고 물어 보시는분 있겠지만 재미로 한번 해보시기 바랍니다!
posix 환경용(apache용) 코드는 파일 첨부로 게시합니다.
php cgi를 추가 하는 방식처럼 추가하면 됩니다.

2012. 4. 6 내용추가합니다.

GET, REQUEST등 각종 REQUEST를 처리하기 위해서는 an ANSI C library for CGI Programming 라이브러리가 추가로 필요합니다.

posted by ned3y2k

PHPUnitFramework 를 이용한 TDD

Web Tech/PHP 2011. 6. 13. 13:30
뭔가 자세하게 설명된 곳이다.
http://www.phpunit.de/manual/3.6/en/index.html
posted by ned3y2k

PHP5 익명 변수, 익명 인스턴스

Web Tech/PHP 2011. 1. 29. 03:33
PHP5를 쓰다 보니 정말 놀라운 언어라고 생각이 든다.
아직 객체 지향 관점에서 보면 당연히 JSP나 ASP.Net 보다는 부족하지만 이러한 단점들을 충분히 매꿀수 있는 언어가 아닌가 한다.

 익명 인스턴스 사용 방법을 알아보자

<?php
$varName = "Country";
${$varName} = "Korea";

$className = "Earth";
${$classWord} = new Planet();
?>

위 처럼 코딩하면 아래와 같은 결과를 얻을수 있다
<?php
$Country = "Korea";
$Earth = new Planet();
?>

정말 멋진 기능이 아닐수 없다^^
자만 Zend Studio나 Eclipes 같은 툴에서 정상적으로 구분 할수 없거나 자동완성 기능에 좀 제약이 있다는 부분이 있다.
posted by ned3y2k
동적 테이블을 만드는중 다른 쪽은 전부 정상적으로 작동하는데 열 삽입이 Internet Explorer(IE) 계열과 타 브라우저들이 다르게 들어가는것을 알수 있다.

IE와 타계열 브라우저(크롬, 사파리, 파폭등...)들을 비교하였을때 행, 열이 반대로 삽입 되는것을 알수 있다.
이 경우에 필요한 내용은 브라우저를 판별하는 코드와 행, 열이 반대로 들어가는 내용을 처리하는 내용 두가지만 있으면 간단히 해결된다.

물론 insertCell(-1)이나, insertRow(-1)로 최하단으로 가게 하거나 0을 넣어 최상단으로 가게 하는 방법으로 해결될수 있다.
이방법은 index 값을 -1이나 0을 주지 않는 특별한 상황에서 응용을 할수 있는 방법이라 보면 될거 같다.

언제나 느끼는거지만 이런 블로그 하나 쓰는것이 너무 오래걸리는듯-_-;

예제 파일은 다음과 같다.
posted by ned3y2k

IIS 사용자 마다 PHP 설정 다르게 적용

Web Tech/PHP 2009. 10. 5. 10:45

Windows의 IIS는 Apache와 달리 .htaccess, httpd.conf로 PHP의 설정을 변경하는게 안된다!
아우 짜증 +.+

그래서 PHP 메뉴얼을 찾아보았는데 그에 근접하게 레지스트리를 이용한 방법이 있었다.
단, 모든 것이 가능한것은 아니다.

몇몇 부분만 레지스트리로 지정할수 있는데 그래도 만족이이다. ^.^
(만일 몇몇 부분 보다 더 지정하고 싶다면 그것은 PHP 소스를 받아서 수정하고 다시 컴파일 하여야 할것이다...)

레지스트리의 저장 위치는
"HKLM\SOFTWARE\PHP\Per Directory Values\디렉토리" 된다.
예를 들면 IIS의 최초 설치시 기본 경로인 c:\inetpub\wwwroot

"HKLM\SOFTWARE\PHP\Per Directory Values\c\inetpub\wwwroot"에 지정하면 된다.
PHP_INI_USER로 변경 가능한 값만 지정 가능하다.

변경 가능한 내용은 다음과 같다.(PHP 버전에 따라 틀리수도 있으니 꼭 메뉴얼을 참고 한다.)
PHP 5.2.1.0 기준

이름 기본값
allow_url_fopen "1"
allow_url_include "0"
apc.cache_by_default "1"
apc.optimization "0"
apd.bitmask "0"
apd.dumpdir NULL
apd.statement_tracing "0"
arg_separator "&"
arg_separator.output "&"
assert.active "1"
assert.bail "0"
assert.callback NULL
assert.quiet_eval "0"
assert.warning "1"
async_send "0"
auto_detect_line_endings "0"
axis2.client_home "~/work/axisc/c/deply"
axis2.enable_exception "1"
axis2.enable_trace "1"
axis2.log_path "/tmp"
bcmath.scale "0"
bcompiler.enabled "1"
birdstep.max_links "-1"
blenc.key_file "/usr/local/etc/blenckeys"
cgi.nph "0"
cgi.rfc2616_headers "0"
child_terminate "0"
coin_acceptor.autoreset "On"
coin_acceptor.auto_initialize "Off"
coin_acceptor.auto_reset "On"
coin_acceptor.command_function "Off"
coin_acceptor.delay "53132"
coin_acceptor.delay_coins "53132"
coin_acceptor.delay_prom "55748"
coin_acceptor.device "/dev/ttyS1"
coin_acceptor.lock_on_close "Off"
coin_acceptor.start_unlocked "On"
com.autoregister_casesensitive "1"
com.autoregister_typelib "0"
com.autoregister_verbose "0"
com.code_page ""
daffodildb.default_host "localhost"
daffodildb.default_password "daffodil"
daffodildb.default_socket NULL
daffodildb.default_user "DAFFODIL"
daffodildb.port "3456"
date.default_latitude "31.7667"
date.default_longitude "35.2333"
date.sunrise_zenith "90.583333"
date.sunset_zenith "90.583333"
date.timezone ""
dba.default_handler ""
default_charset ""
default_mimetype "text/html"
default_socket_timeout "60"
define_syslog_variables "0"
detect_unicode "1"
display_errors "1"
display_startup_errors "0"
docref_ext ""
docref_root ""
engine "1"
error_append_string NULL
error_log NULL
error_prepend_string NULL
error_reporting NULL
etpan.default.charset "utf-8"
etpan.default.protocol "imap"
exif.decode_jis_intel "JIS"
exif.decode_jis_motorola "JIS"
exif.decode_unicode_intel "UCS-2LE"
exif.decode_unicode_motorola "UCS-2BE"
exif.encode_jis ""
exif.encode_unicode "ISO-8859-15"
expect.logfile ""
expect.loguser "1"
expect.timeout "10"
fbsql.batchsize "1000"
from ""
gd.jpeg_ignore_warning "0"
geoip.custom_directory NULL
geoip.database_standard "GeoIP.dat"
gpc_order "GPC"
highlight.bg "#FFFFFF"
highlight.comment "#FF8000"
highlight.default "#0000BB"
highlight.html "#000000"
highlight.keyword "#007700"
highlight.string "#DD0000"
html_errors "1"
http.allowed_methods ""
http.allowed_methods_log ""
http.cache_log ""
http.composite_log ""
http.etag.mode "MD5"
http.etag_mode "MD5"
http.force_exit "1"
http.log.allowed_methods ""
http.log.cache ""
http.log.composite ""
http.log.not_found ""
http.log.redirect ""
http.ob_deflate_flags "0"
http.ob_inflate_flags "0"
http.only_exceptions "0"
http.persistent.handles.ident "GLOBAL"
http.redirect_log ""
http.request.methods.allowed ""
http.send.deflate.start_flags "0"
http.send.inflate.start_flags "0"
http.send.not_found_404 "1"
hyperwave.default_port "418"
ibase.dateformat "%Y-%m-%d"
ibase.default_charset NULL
ibase.default_password NULL
ibase.default_user NULL
ibase.timeformat "%H:%M:%S"
ibase.timestampformat "%Y-%m-%d %H:%M:%S"
ibm_db2.binmode "1"
iconv.input_encoding "ISO-8859-1"
iconv.internal_encoding "ISO-8859-1"
iconv.output_encoding "ISO-8859-1"
ifx.blobinfile "1"
ifx.byteasvarchar "0"
ifx.charasvarchar "0"
ifx.nullformat "0"
ifx.textasvarchar "0"
ignore_repeated_errors "0"
ignore_repeated_source "0"
ignore_user_abort "0"
imlib2.font_cache_max_size "524288"
imlib2.font_path "/usr/share/php/fonts/"
implicit_flush "0"
include_path ".;/path/to/php/pear"
ingres.array_index_start "1"
ingres.blob_segment_length "4096"
ingres.cursor_mode "0"
ingres.default_database NULL
ingres.default_password NULL
ingres.default_user NULL
ingres.report_db_warnings "1"
ingres.timeout "-1"
ingres.trace_connect "0"
ircg.control_user "nobody"
ircg.keep_alive_interval "60"
ircg.max_format_message_sets "12"
ircg.shared_mem_size "6000000"
ircg.work_dir "/tmp/ircg"
last_modified "0"
ldap.base_dn NULL
log.dbm_dir ""
log_errors "0"
log_errors_max_len "1024"
magic_quotes_runtime "0"
magic_quotes_sybase "0"
mail.log ""
mailparse.def_charset "us-ascii"
maxdb.default_db NULL
maxdb.default_host NULL
maxdb.default_pw NULL
maxdb.default_user NULL
maxdb.long_readlen "200"
max_execution_time "30"
mbstring.detect_order NULL
mbstring.http_input "pass"
mbstring.http_output "pass"
mbstring.internal_encoding NULL
mbstring.script_encoding NULL
mbstring.strict_detection "0"
mbstring.substitute_character NULL
mcrypt.algorithms_dir NULL
mcrypt.modes_dir NULL
memcache.allow_failover "1"
memcache.chunk_size "8192"
memcache.default_port "11211"
memcache.hash_function "crc32"
memcache.hash_strategy "standard"
memcache.max_failover_attempts "20"
memory_limit "128M"
msql.allow_persistent "1"
msql.max_links "-1"
msql.max_persistent "-1"
mssql.batchsize "0"
mssql.charset ""
mssql.compatability_mode "0"
mssql.connect_timeout "5"
mssql.datetimeconvert "1"
mssql.max_procs "-1"
mssql.min_error_severity "10"
mssql.min_message_severity "10"
mssql.textlimit "-1"
mssql.textsize "-1"
mssql.timeout "60"
mysql.connect_timeout "60"
mysql.default_host NULL
mysql.default_password NULL
mysql.default_port NULL
mysql.default_socket NULL
mysql.default_user NULL
mysql.trace_mode "0"
mysqli.default_host NULL
mysqli.default_port "3306"
mysqli.default_pw NULL
mysqli.default_socket NULL
mysqli.default_user NULL
namazu.debugmode "0"
namazu.lang NULL
namazu.loggingmode "0"
namazu.sortmethod NULL
namazu.sortorder NULL
nsapi.read_timeout "60"
odbc.defaultbinmode "1"
odbc.defaultlrl "4096"
odbc.default_db NULL
odbc.default_pw NULL
odbc.default_user NULL
odbtp.datetime_format "object"
odbtp.detach_default_queries "0"
odbtp.guid_format "string"
odbtp.interface_file "/usr/local/share/odbtp.conf"
odbtp.truncation_errors "1"
opendirectory.default_separator "/"
opendirectory.max_refs "-1"
opendirectory.separator "/"
open_basedir NULL
oracle.allow_persistent "-1"
oracle.max_links "-1"
oracle.max_persistent "-1"
pam.servicename "php"
pcre.backtrack_limit "100000"
pcre.recursion_limit "100000"
pdo_odbc.connection_pooling "strict"
pfpro.defaulthost "test-payflow.verisign.com"
pfpro.defaultport "443"
pfpro.defaulttimeout "30"
pfpro.proxyaddress ""
pfpro.proxylogon ""
pfpro.proxypassword ""
pfpro.proxyport ""
pgsql.ignore_notice "0"
pgsql.log_notice "0"
phar.extract_list ""
phar.readonly "1"
phar.require_hash "1"
precision "14"
printer.default_printer ""
python.append_path ""
python.prepend_path "."
report_memleaks "1"
report_zend_debug "1"
sendmail_from NULL
serialize_precision "100"
session.auto_start "0"
session.bug_compat_42 "1"
session.bug_compat_warn "1"
session.cache_expire "180"
session.cache_limiter "nocache"
session.cookie_domain ""
session.cookie_httponly ""
session.cookie_lifetime "0"
session.cookie_path "/"
session.cookie_secure ""
session.entropy_file ""
session.entropy_length "0"
session.gc_dividend "100"
session.gc_divisor "100"
session.gc_maxlifetime "1440"
session.gc_probability "1"
session.hash_bits_per_character "4"
session.hash_function "0"
session.name "PHPSESSID"
session.referer_check ""
session.save_handler "files"
session.save_path ""
session.serialize_handler "php"
session.use_cookies "1"
session.use_only_cookies "1"
session.use_trans_sid "0"
short_open_tag "1"
simple_cvs.authMethod "0"
simple_cvs.compressionLevel "0"
simple_cvs.cvsRoot "0"
simple_cvs.host "0"
simple_cvs.moduleName "0"
simple_cvs.userName "0"
simple_cvs.workingDir "0"
SMTP "localhost"
smtp_port "25"
soap.wsdl_cache "1"
soap.wsdl_cache_dir "/tmp"
soap.wsdl_cache_enabled "1"
soap.wsdl_cache_limit "5"
soap.wsdl_cache_ttl "86400"
sqlite.assoc_case "0"
sqlite.iso8859.locale "1"
sybase.allow_persistent "1"
sybase.hostname NULL
sybase.interface_file ""
sybase.login_timeout "0"
sybase.max_links "-1"
sybase.max_persistent "-1"
sybase.min_client_severity "10"
sybase.min_error_severity "10"
sybase.min_message_severity "10"
sybase.min_server_severity "10"
sybase.timeout "0"
sybct.deadlock_retry_count "0"
sybct.hostname NULL
sybct.login_timeout "-1"
sybct.min_client_severity "10"
sybct.min_server_severity "10"
sybct.packet_size "0"
sybct.timeout "0"
sysvshm.init_mem "10000"
tidy.clean_output "0"
track_errors "0"
track_vars "1"
unicode.fallback_encoding NULL
unicode.filesystem_encoding NULL
unicode.http_input_encoding NULL
unicode.output_encoding NULL
unicode.runtime_encoding NULL
unicode.script_encoding NULL
unicode.stream_encoding "UTF-8"
unserialize_callback_func NULL
uploadprogress.file.filename_template "/tmp/upt_%s.txt"
url_rewriter.tags "a=href,area=href,frame=src,form=,fieldset="
user_agent NULL
valkyrie.auto_validate "0"
valkyrie.config_path NULL
velocis.max_links "-1"
xbithack "0"
xdebug.auto_profile "0"
xdebug.auto_profile_mode "0"
xdebug.auto_trace "0"
xdebug.collect_includes "1"
xdebug.collect_params "0"
xdebug.collect_return "0"
xdebug.collect_vars "0"
xdebug.default_enable "1"
xdebug.dump.COOKIE NULL
xdebug.dump.ENV NULL
xdebug.dump.FILES NULL
xdebug.dump.GET NULL
xdebug.dump.POST NULL
xdebug.dump.REQUEST NULL
xdebug.dump.SERVER NULL
xdebug.dump.SESSION NULL
xdebug.dump_globals "1"
xdebug.dump_once "1"
xdebug.dump_undefined "0"
xdebug.idekey ""
xdebug.manual_url "http://www.php.net"
xdebug.max_nesting_level "100"
xdebug.remote_autostart "0"
xdebug.remote_handler "dbgp"
xdebug.remote_host "localhost"
xdebug.remote_log ""
xdebug.remote_mode "req"
xdebug.remote_port "9000"
xdebug.show_exception_trace "0"
xdebug.show_local_vars "0"
xdebug.show_mem_delta "0"
xdebug.trace_format "0"
xdebug.trace_options "0"
xdebug.trace_output_dir "/tmp"
xdebug.trace_output_name "trace.%c"
xdebug.var_display_max_children "128"
xdebug.var_display_max_data "512"
xdebug.var_display_max_depth "3"
xmlrpc_error_number "0"
xmms.path "/usr/bin/xmms"
xmms.session "0"
y2k_compliance "1"
yami.response.timeout "5"
yaz.keepalive "120"
yaz.log_file NULL
yaz.log_mask NULL
yaz.max_links "100"
zend.ze1_compatibility_mode "0"
zlib.output_compression "0"
zlib.output_compression_level "-1"
zlib.output_handler ""
posted by ned3y2k