<?php
/*
$Id: nusoap.php,v 1.92 2005/07/01 16:51:02 snichol Exp $
NuSOAP - Web Services Toolkit for PHP
Copyright (c) 2002 NuSphere Corporation
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
If you have any questions or comments, please email:
Dietrich Ayala
dietrich@ganx4.com
http://dietrich.ganx4.com/nusoap
NuSphere Corporation
http://www.nusphere.com
*/
/* load classes
// necessary classes
require_once('class.soapclient.php');
require_once('class.soap_val.php');
require_once('class.soap_parser.php');
require_once('class.soap_fault.php');
// transport classes
require_once('class.soap_transport_http.php');
// optional add-on classes
require_once('class.xmlschema.php');
require_once('class.wsdl.php');
// server class
require_once('class.soap_server.php');*/
// class variable emulation
// cf. http://www.webkreator.com/php/techniques/php-static-class-variables.html
$GLOBALS['_transient']['static']['nusoap_base']->globalDebugLevel = 9;
/**
*
* nusoap_base
*
* @author Dietrich Ayala <dietrich@ganx4.com>
* @version $Id: nusoap.php,v 1.92 2005/07/01 16:51:02 snichol Exp $
* @access public
*/
class nusoap_base {
/**
* Identification for HTTP headers.
*
* @var string
* @access private
*/
var $title = 'NuSOAP';
/**
* Version for HTTP headers.
*
* @var string
* @access private
*/
var $version = '0.7.1';
/**
* CVS revision for HTTP headers.
*
* @var string
* @access private
*/
var $revision = '$Revision: 1.92 $';
/**
* Current error string (manipulated by getError/setError)
*
* @var string
* @access private
*/
var $error_str = '';
/**
* Current debug string (manipulated by debug/appendDebug/clearDebug/getDebug/getDebugAsXMLComment)
*
* @var string
* @access private
*/
var $debug_str = '';
/**
* toggles automatic encoding of special characters as entities
* (should always be true, I think)
*
* @var boolean
* @access private
*/
var $charencoding = true;
/**
* the debug level for this instance
*
* @var integer
* @access private
*/
var $debugLevel;
/**
* set schema version
*
* @var string
* @access public
*/
var $XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema';
/**
* charset encoding for outgoing messages
*
* @var string
* @access public
*/
//var $soap_defencoding = 'ISO-8859-1';
var $soap_defencoding = 'UTF-8';
/**
* namespaces in an array of prefix => uri
*
* this is "seeded" by a set of constants, but it may be altered by code
*
* @var array
* @access public
*/
var $namespaces = array(
'SOAP-ENV' => 'http://schemas.xmlsoap.org/soap/envelope/',
'xsd' => 'http://www.w3.org/2001/XMLSchema',
'xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
'SOAP-ENC' => 'http://schemas.xmlsoap.org/soap/encoding/',
'si' => 'http://soapinterop.org/xsd');
/**
* namespaces used in the current context
*
* @var array
* @access private
*/
var $usedNamespaces = array();
/**
* XML Schema types in an array of uri => (array of xml type => php type)
* is this legacy yet?
* no, this is used by the xmlschema class to verify type => namespace mappings.
* @var array
* @access public
*/
var $typemap = array(
'http://www.w3.org/2001/XMLSchema' => array(
'string'=>'string','boolean'=>'boolean','float'=>'double','double'=>'double','decimal'=>'double',
'duration'=>'','dateTime'=>'string','time'=>'string','date'=>'string','gYearMonth'=>'',
'gYear'=>'','gMonthDay'=>'','gDay'=>'','gMonth'=>'','hexBinary'=>'string','base64Binary'=>'string',
// abstract "any" types
'anyType'=>'string','anySimpleType'=>'string',
// derived datatypes
'normalizedString'=>'string','token'=>'string','language'=>'','NMTOKEN'=>'','NMTOKENS'=>'','Name'=>'','NCName'=>'','ID'=>'',
'IDREF'=>'','IDREFS'=>'','ENTITY'=>'','ENTITIES'=>'','integer'=>'integer','nonPositiveInteger'=>'integer',
'negativeInteger'=>'integer','long'=>'integer','int'=>'integer','short'=>'integer','byte'=>'integer','nonNegativeInteger'=>'integer',
'unsignedLong'=>'','unsignedInt'=>'','unsignedShort'=>'','unsignedByte'=>'','positiveInteger'=>''),
'http://www.w3.org/2000/10/XMLSchema' => array(
'i4'=>'','int'=>'integer','boolean'=>'boolean','string'=>'string','double'=>'double',
'float'=>'double','dateTime'=>'string',
'timeInstant'=>'string','base64Binary'=>'string','base64'=>'string','ur-type'=>'array'),
'http://www.w3.org/1999/XMLSchema' => array(
'i4'=>'','int'=>'integer','boolean'=>'boolean','string'=>'string','double'=>'double',
'float'=>'double','dateTime'=>'string',
'timeInstant'=>'string','base64Binary'=>'string','base64'=>'string','ur-type'=>'array'),
'http://soapinterop.org/xsd' => array('SOAPStruct'=>'struct'),
'http://schemas.xmlsoap.org/soap/encoding/' => array('base64'=>'string','array'=>'array','Array'=>'array'),
'http://xml.apache.org/xml-soap' => array('Map')
);
/**
* XML entities to convert
*
* @var array
* @access public
* @deprecated
* @see expandEntities
*/
var $xmlEntities = array('quot' => '"','amp' => '&',
'lt' => '<','gt' => '>','apos' => "'");
/**
* constructor
*
* @access public
*/
function nusoap_base() {
$this->debugLevel = $GLOBALS['_transient']['static']['nusoap_base']->globalDebugLevel;
}
/**
* gets the global debug level, which applies to future instances
*
* @return integer Debug level 0-9, where 0 turns off
* @access public
*/
function getGlobalDebugLevel() {
return $GLOBALS['_transient']['static']['nusoap_base']->globalDebugLevel;
}
/**
* sets the global debug level, which applies to future instances
*
* @param int $level Debug level 0-9, where 0 turns off
* @access public
*/
function setGlobalDebugLevel($level) {
$GLOBALS['_transient']['static']['nusoap_base']->globalDebugLevel = $level;
}
/**
* gets the debug level for this instance
*
* @return int Debug level 0-9, where 0 turns off
* @access public
*/
function getDebugLevel() {
return $this->debugLevel;
}
/**
* sets the debug level for this instance
*
* @param int $level Debug level 0-9, where 0 turns off
* @access public
*/
function setDebugLevel($level) {
$this->debugLevel = $level;
}
/**
* adds debug data to the instance debug string with formatting
*
* @param string $string debug data
* @access private
*/
function debug($string){
if ($this->debugLevel > 0) {
$this->appendDebug($this->getmicrotime().' '.get_class($this).": $string\n");
}
}
/**
* adds debug data to the instance debug string without formatting
*
* @param string $string debug data
* @access public
*/
function appendDebug($string){
if ($this->debugLevel > 0) {
// it would be nice to use a memory stream here to use
// memory more efficiently
$this->debug_str .= $string."<br>\n";
}
}
/**
* clears the current debug data for this instance
*
* @access public
*/
function clearDebug() {
// it would be nice to use a memory stream here to use
// memory more efficiently
$this->debug_str = '';
}
/**
* gets the current debug data for this instance
*
* @return debug data
* @access public
*/
function &getDebug() {
// it would be nice to use a memory stream here to use
// memory more efficiently
return $this->debug_str;
}
/**
* gets the current debug data for t
没有合适的资源?快使用搜索试试~ 我知道了~
google 广告代理平台.zip
共212个文件
php:121个
htm:35个
gif:25个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 26 浏览量
2022-06-18
18:29:57
上传
评论
收藏 460KB ZIP 举报
温馨提示
google 广告代理平台.zip
资源推荐
资源详情
资源评论
收起资源包目录
google 广告代理平台.zip (212个子文件)
Index.htm.bak 14KB
AdsLater.css 22KB
AdsLater.css 21KB
style.css 7KB
AdsAux.css 4KB
fontfix.css 911B
googleballs.gif 38KB
sample6.gif 9KB
google_small.gif 4KB
GoogleBot2_17_2.gif 3KB
art.gif 3KB
GoogleBot2_04.gif 3KB
powered_by_google_135x35.gif 3KB
bulb.gif 1KB
arrow_right.gif 837B
warning_exc.gif 565B
longleftarrow.gif 166B
green_arrow.gif 136B
document.gif 96B
closebox.gif 92B
zipped_triangle.gif 83B
sortdown.gif 58B
sortup.gif 58B
unzipped_triangle.gif 56B
ulborder.gif 54B
urborder.gif 54B
arrow.gif 51B
ur.gif 47B
ul.gif 46B
clear.gif 43B
dot2.gif 38B
.htaccess 472B
CampaignManagementKey.htm 47KB
ModifyCampaign.htm 28KB
CampaignManagement.htm 22KB
SetMaxCpc.htm 22KB
ChooseKeywords.htm 21KB
CreateAd.htm 21KB
TargetingWizard.htm 21KB
ReviewAccount.htm 19KB
TargetCountries.htm 15KB
home.htm 15KB
NewAccount.htm 13KB
ReportsMenuV2.htm 13KB
Ccidentity.htm 12KB
reportprefs2.htm 11KB
AccountSet.htm 11KB
MyClient.htm 11KB
ModiKeyWord.htm 11KB
AddKeywords.htm 11KB
MyClientSet.htm 9KB
ReviewInvoices.htm 9KB
ActivateKeyword.htm 8KB
EditUserPreferences.htm 8KB
ModifyAdGroups(Maxcpc).htm 8KB
EditLoginInformation.htm 8KB
EditCommunicationsPreferences.htm 8KB
NewAccountComplete.htm 7KB
ModifyAdGroups(AdGroupsName).htm 7KB
EditAgentInfo.htm 7KB
AssistLogin.htm 7KB
Untitled-1.htm 6KB
Pub_top.htm 6KB
Viewreport.htm 5KB
TrafficEstimator.htm 2KB
Pub_Footer.htm 721B
extclk.htm 433B
__utm.js 15KB
__utm.js 15KB
1357171225-SetPricing.js 12KB
2928508412-SetPricing.js 11KB
XMLHttpRequest.js 7KB
207089048-CreateAdStep.js 7KB
1589988355-Shared.js 7KB
AW_formUtil.js 6KB
conversion.js 5KB
conversion.js 5KB
2378933732-Shared.js 5KB
Common.js 4KB
Common.js 4KB
RolloverTable.js 3KB
Utils.js 3KB
1703194352-ChooseCountries.js 3KB
3968278803-PleaseWait.js 2KB
3949098412-Request.js 2KB
tutorialLauncher.js 2KB
ZippedSection.js 816B
resetForm.js 271B
nusoap.php 239KB
Smarty_Compiler.class.php 89KB
Smarty.class.php 61KB
CampaignManagement.php 17KB
CampaignManagement.php 13KB
AdWordCampaignService.inc.php 13KB
Config_File.class.php 12KB
AdWordKeywordService.inc.php 12KB
function.html_select_date.php 11KB
AdWordCreativeService.inc.php 9KB
AdWordTrafficEstimatorService.inc.php 9KB
function.fetch.php 8KB
共 212 条
- 1
- 2
- 3
资源评论
programxh
- 粉丝: 17
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功