搜索资源列表
用Java编写HTML文件分析程序
- 用Java编写HTML文件分析程序 一、概述 Web服务器的核心是对Html文件中的各标记(Tag)作出正确的分析,一种编程语言的解释程序也是对源文件中的保留字进行分析再做解释的。实际应用中,我们也经常会碰到需要对某一特定类型文件进行要害字分析的情况,比如,需要将某个HTML文件下载并同时下载与之相关的.gif、.class等文件,此时就要求对HTML文件中的标记进行分离,找出所需的文件名及目录。在Java出现以前,类似工作需要对文件中的每个字符进行分析,从中找出所需部
特殊高级计算器
- 第一步:把如下代码加入<body>区域中 <scr ipt LANGUAGE=\"java-scr ipt\"> <!-- Begin function doit() { form.input.value = eval(form.input.value) } function Cos() { x = form.input.value if (x == ) alert( Error: Input Required ) else f
06pop3
- 接收pop3 Public Function Retrieve(ByVal rhs As Pop3Message) As Pop3Message Dim message, response As String Dim msg As New Pop3Message msg.bytes = rhs.bytes msg.number = rhs.number message = \"RETR \" + rhs.number.ToString + vbCrLf
playteams
- robocup 的高层决策机构 if ball is kickable kick ball to goal else if i am fastest player to ball and no opponent can intercept ball intercept the ball else move to strategic position and pos ba
1i
- 软件测试:一个编译器测试软件,支持下列C语言运算符:+ - * / % ^(乘方) 负 (int) (double) \"字符串\" [](数组) > < == >= <= != && ! ++ -- = += -= *= /= %= ^=,支持下列关键字:void int double string if else for while do goto break continue return,支持下列数据类型:int double string int[] doubl
用D3D模拟地月系
- 一、建立空窗体 新建一个工程,添加引用,并导入名称空间。 加入一个设备对象变量: private Microsoft.DirectX.Direct3D.Device device = null; 添加初始化图形函数,并在这里面对设备对象进行实例化: public void InitializeGraphics() { PresentParameters presentParams = new PresentParam
一个判断远程主机存活程序代码
- 一个判断远程主机存活程序代码(ping) #include #include #include #include #include "winsock.h" #pragma comment(lib,"Ws2_32"); #define SEND_SIZE 32 #define PACKET_SIZE 4096 #define ICMP_ECHO 8 #define ICMP_ECHOREPLY 0 struct icmp {
BusinessEntry
- 人才市场短信平台入口 public void AnalyzeMsg(ShortMsg xmlBuffer) { BusinessProcess BP = new BusinessProcess() //业务处理类 String Msg = xmlBuffer.getShortMsg() String mobileNum = xmlBuffer.getSendMobileNum() String mobileType = xmlBuffer.getMobil
2006082210452116419-4097
- 现代化的企业越来越重视科学技术,只有把科学技术应用到企业中才能获取更大的效益。 合同是商品经济的产物,是商品交换的法律表现形式。现代企业的经济往来,主要是通过合同形式进行的。所以,合同管理作为现代企业法律顾问制度的重要内容之一,能否实施有效管理把好合同关,是现化企业经营管理成败的一个重要因素。 企业往往会签订一系列的合同,并且会考虑如何去管理合同的进展,合同账款的收取和支付。完善的合同管理是企业健康运作的一个重要标志。 -Private Sub cancel_Click() Un
[_Process_1876044122005
- 一个防火墙编程的好例程。该防火墙决定哪个进程可以在你的计算机上运行,当一个新进程被检测到得时候,它提示你是否通过,如果10秒内你没有理会它,它就自动地阻止,等等功能见英文介绍吧。-Process gateway is basically a firewall for processes. It allows you to choose which processes you want to allow to run on your computer. When a new processes i
sxg
- <? session_start() if(!isset($_SESSION[ USER ])) { echo "<scr ipt type= text/javascr ipt >alert( 请登录 ) </scr ipt>" echo "<scr ipt type= text/javascr ipt >location.href= index.html </scr ipt>" } else {
httpProxy
- c++实现的http代理,别人的源码,如果原作者有什么异议,请删除-c++ implementation of the http proxy, someone else' s source code, if there is any objection to the original author, please delete
google
- Ajax模仿google自动完成,place.cs放入App_code目录,数据库连接自行配置-ajax for google complete function getData(va) { if(va!="") var url= Default2.aspx?k= +escape(va) obj=CreateAJAX() if(obj) { obj.onreadystatechange=handlejs
FileServer
- I simulate the ftp server there are main server and branch servers the connection between main server and branches is rmi . client request file from server , if the main server found it , it will return else request it from branch server using
xueshengxinxiguanli_php
- 学生管理系统 printf("\n●请输入学生总数:") scanf(" d",&n) printf("\n○请输入课程总数:") scanf(" d",&m) p1=num p2=score printf("\n ★★现在请输入学号和成绩★★\n") print2(m) input(p1,p2,n,m) while(1) { print1() scanf(" d",&i) if(i<0||i&g
ftp-source
- or (int i = 0 i < len && partCount <= 6 i++) { char ch = Char.Parse(ipData.Substring(i,1)) if (Char.IsDigit(ch)) buf+=ch else if (ch != , ) { throw new IOException("Malformed PASV strReply: " + strReply) } if (c
step1
- 词法分析程序,次程序实现了if else语句的标准输入-Lexical analysis program, sub-program if else statement of the standard input
lokeip
- 防止程序各类漏洞入侵的最后一道防线,将checkip.asp包含在后台文件中,这样别人就算拿到了正确的用户名密码也进不去后台-Prevent the program all kinds of exploits last line of defense, will checkip.asp included in the spool file, so even if someone else got the correct username and password can also get in
Lightemplate
- 我写的php模版类,调用方法简单,支持if else include之类的标签, 可以包含扩展函数,整个模版文件没有外部include和require,减少io操作, 加载三个模版变量,两个数组变量,比smarttemplate快平均2-3毫秒. 单纯加载模版文件,不设置任何变量lightemplate平均0.3毫秒左右,smarttemplate至少要1毫秒.-I write php template class, call the method is simple, if else incl
Lightemplate
- 我写的php模版类,调用方法简单,支持if else include之类的标签, 可以包含扩展函数,整个模版文件没有外部include和require,减少io操作, 加载三个模版变量,两个数组变量,比smarttemplate快平均2-3毫秒.-I wrote the php template class, call the method is simple to support if else include such labels, can contain extended functio