当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: #!/usr/bin/python# -*- coding: c
 

 

    摘要: 今天做了一下试验,发现当webservice返回的xml数据中使用了”name”关键字作为健值时,asp页面将无法读取整个xml文档,而出现以下错误: 无法显示 xml 页。 使用 xsl 样式表无法查看 xml 输入。请更正错误然后单击 刷新按钮,或以后重试。 文本内容中发现无效字符。处理资源 ´http://192.168.0.......
 ·文本间加入任意字符的php函数    »显示摘要«
    摘要:<?/*********************************************************************** written by caocao caocao@eastday.com http://nethermit.yeah.net 文本间加入任意字符的函数 输入: $str:欲转换的代码 $insert:欲插入的字符 输出: 返......


一个小巧的MySQL Shell

#!/usr/bin/python

# -*- coding: cp936 -*- 【程序编程相关:(转载)SQL Injection (資

【推荐阅读:(转载)SQL Injection (資

【扩展信息:jasperreport常遇到的问题及解

#################################

#   written by caocao           #

#   caocao@eastday.com          #

#   http://nethermit.yeah.net   #

#################################

import sys, string, os

from types import *

import mysqldb

print "written by caocao"

print "caocao@eastday.com"

print "http://nethermit.yeah.net"

print

def iif(expression, whentrue, whenfalse):

 if expression:

  return whentrue

 else:

  return whenfalse

class mysqltest:

 def __init__(self, host="localhost", user="root", passwd="", db=""):

  self.connection=none

  self.host=host

  self.user=user

  self.passwd=passwd

  self.db=db

  self.result=none

  print "-"*40

  print "mysql shell v 1.0"


...   下一页
 ·用渐变色填充背景    »显示摘要«
    摘要: windows的图形界面为我们提供了无穷的方便和视觉上的快感,由浅及深的颜色给我们无尽的遐想。渐变色的实现有多种方法,好多资料上介绍了利用调色板的方法实现,其过程及其的复杂,需要我们具有一定的图形编程的基础,下面我将向大家介绍一种比较简单的方法,即使你一点都不了解图形编程和调色板的概念。  第一步:新建单文档工程,一切参数都取默认值。  第二步:在shadowview.h中定义变量如下: ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE