wp-statistics.12.3.5


wordpress平台之所以有这么多用户使用。不仅仅是因为wordpress部署简单,操作方便。更重要的是wordpress有丰富的主题和插件功能,使得wordpress网站在扩展上,灵活性更强。下面将介绍WP Statistics插件的安装及使用过程。
资源截图
代码片段和文件信息
/* MaxMind Inc. licenses this file to you under the Apache License Version
 * 2.0 (the “License“); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing software
 * distributed under the License is distributed on an “AS IS“ BASIS WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.  See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

#include “php_maxminddb.h“

#ifdef HAVE_CONFIG_H
#include “config.h“
#endif

#include 
#include 
#include “Zend/zend_exceptions.h“
#include 

#ifdef ZTS
#include 
#endif

#define __STDC_FORMAT_MACROS
#include 

#define PHP_MAXMINDDB_NS ZEND_NS_NAME(“MaxMind“ “Db“)
#define PHP_MAXMINDDB_READER_NS ZEND_NS_NAME(PHP_MAXMINDDB_NS “Reader“)
#define PHP_MAXMINDDB_READER_EX_NS        
    ZEND_NS_NAME(PHP_MAXMINDDB_READER_NS 
                 “InvalidDatabaseException“)

#ifdef ZEND_ENGINE_3
#define Z_MAXMINDDB_P(zv)  php_maxminddb_fetch_object(Z_OBJ_P(zv))
#define _ZVAL_STRING ZVAL_STRING
#define _ZVAL_STRINGL ZVAL_STRINGL
typedef size_t strsize_t;
typedef zend_object free_obj_t;
#else
#define Z_MAXMINDDB_P(zv) (maxminddb_obj *) zend_object_store_get_object(zv TSRMLS_CC)
#define _ZVAL_STRING(a b) ZVAL_STRING(a b 1)
#define _ZVAL_STRINGL(a b c) ZVAL_STRINGL(a b c 1)
typedef int strsize_t;
typedef void free_obj_t;
#endif

#ifdef ZEND_ENGINE_3
typedef struct _maxminddb_obj {
    MMDB_s *mmdb;
    zend_object std;
} maxminddb_obj;
#else
typedef struct _maxminddb_obj {
    zend_object std;
    MMDB_s *mmdb;
} maxminddb_obj;
#endif

PHP_FUNCTION(maxminddb);

static const MMDB_entry_data_list_s *handle_entry_data_list(
    const MMDB_entry_data_list_s *entry_data_list
    zval *z_value
    TSRMLS_DC);
static const MMDB_entry_data_list_s *handle_array(
    const MMDB_entry_data_list_s *entry_data_list
    zval *z_value TSRMLS_DC);
static const MMDB_entry_data_list_s *handle_map(
    const MMDB_entry_data_list_s *entry_data_list
    zval *z_value TSRMLS_DC);
static void handle_uint128(const MMDB_entry_data_list_s *entry_data_list
                           zval *z_value TSRMLS_DC);
static void handle_uint64(const MMDB_entry_data_list_s *entry_data_list
                          zval *z_value TSRMLS_DC);
static zend_class_entry * lookup_class(const char *name TSRMLS_DC);

#define CHECK_ALLOCATED(val)                  
    if (!val ) {                              
        zend_error(E_ERROR “Out of memory“); 
        return;                               
    }                                         

#define THROW_EXCEPTION(name ... )                                      
    {                                               

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-01-17 15:37  wp-statistics
     目录           0  2018-01-17 15:37  wp-statisticsassets
     目录           0  2018-01-17 15:37  wp-statisticsassetscss
     文件        5549  2018-01-17 15:37  wp-statisticsassetscssadmin.css
     文件         104  2018-01-17 15:37  wp-statisticsassetscssfrontend.css
     文件       30042  2018-01-17 15:37  wp-statisticsassetscssjquery-ui-smoothness.min.css
     文件        6042  2018-01-17 15:37  wp-statisticsassetscsslog.css
     文件        1089  2018-01-17 15:37  wp-statisticsassetscsspagination.css
     文件         971  2018-01-17 15:37  wp-statisticsassetscss
tl.css
     目录           0  2018-01-17 15:37  wp-statisticsassetsimages
     文件         769  2018-01-17 15:37  wp-statisticsassetsimagesAir.png
     文件       14574  2018-01-17 15:37  wp-statisticsassetsimagesajax-loading.gif
     文件         580  2018-01-17 15:37  wp-statisticsassetsimagesAndroid.png
     文件         593  2018-01-17 15:37  wp-statisticsassetsimagesask.png
     文件        1058  2018-01-17 15:37  wp-statisticsassetsimagesaidu.png
     文件        1820  2018-01-17 15:37  wp-statisticsassetsimagesing.png
     文件         586  2018-01-17 15:37  wp-statisticsassetsimagesChrome.png
     文件         496  2018-01-17 15:37  wp-statisticsassetsimagesclearch.png
     文件         503  2018-01-17 15:37  wp-statisticsassetsimagesdashicons-migrate.png
     文件         653  2018-01-17 15:37  wp-statisticsassetsimagesdashicons-update.png
     文件         311  2018-01-17 15:37  wp-statisticsassetsimagesdashicons-visibility.png
     文件        1129  2018-01-17 15:37  wp-statisticsassetsimagesduckduckgo.png
     文件         947  2018-01-17 15:37  wp-statisticsassetsimagesFirefox.png
     目录           0  2018-01-17 15:37  wp-statisticsassetsimagesflags
     文件         484  2018-01-17 15:37  wp-statisticsassetsimagesflags00.png
     文件         540  2018-01-17 15:37  wp-statisticsassetsimagesflagsAD.png
     文件         645  2018-01-17 15:37  wp-statisticsassetsimagesflagsAE.png
     文件         534  2018-01-17 15:37  wp-statisticsassetsimagesflagsAF.png
     文件         535  2018-01-17 15:37  wp-statisticsassetsimagesflagsAG.png
     文件         609  2018-01-17 15:37  wp-statisticsassetsimagesflagsAI.png
     文件         535  2018-01-17 15:37  wp-statisticsassetsimagesflagsAL.png
............此处省略1605个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)