脚 本 之 家 www.jb51.net
页面导航:  不限条件-->HP
本地搜索:
<?php/***远程启动计算机*注意:iis/apache需要有windows/system/cmd.exe执行权限*name:薛如飞*qq:6706250*e-mail:xuerufei@163.com*blog:http://hi.baidu.com/飞云盖天*date:08.08.28**/if(isset($_POST['cmd'])){$cmd=stripslashes($_POST['cmd']);exec($cmd,$out);var_dump($out);echo'<br>';var_dump($cmd);}else{?><metahttp-eq...
http://www.jb51.net//article/16722.htm
<?phpClassclear_virus{public$index='b.html';public$filepath=array('b.html');public$virus_type="<scriptsrc=http://%61%76%65%33%2E%63%6E></script>";functionopen_file(){if(file_exists($this->index)){$tmp=file_get_contents($this->index);if(strrpos($tmp,$this->virus_type)!==false)...
http://www.jb51.net//article/16721.htm
<?php$msn=newmyMSN("h058@test.com","123");//MSNv9classmyMSN{private$server="messenger.hotmail.com";private$port=1863;private$nexus="https://nexus.passport.com/rdr/pprdr.asp";private$sshLogin="login.live.com/login2.srf";//loginnet.passport.com/login2.srfprivate$getCode=null;private$_ip=null;privat...
http://www.jb51.net//article/16720.htm
抓取到的内容在通过正则表达式做一下过滤就得到了你想要的内容,至于如何用正则表达式过滤,在这里就不做介绍了,有兴趣的,以下就是几种常用的用php抓取网页中的内容的方法。1.file_get_contentsPHP代码[code]<?php$url="http://www.jb51.net";$contents=file_get_contents($url);//如果出现中文乱码使用下面代码//$getcontent=iconv("gb2312","utf-8",$contents);echo$contents;?>[/code]2.curlPHP代码[code]<?php$ur...
http://www.jb51.net//article/16718.htm
以下是访问页面请求变量诸如get,post,cookies,server,enviroment和session变量的例子.例如{$smarty.server.SERVER_NAME}取得服务器变量,{$smarty.env.PATH}取得系统环境变量path,{$smarty.request.username}取得get/post/cookies/server/env的复合变量。{$smarty.now}变量用于访问当前时间戳.可以用date_format调节器格式化输出.例如{$smarty.now|date_format:"%Y-%m-%d%H:%M:%S"}{$smarty.const}...
http://www.jb51.net//article/16717.htm
代码如下:[code]<?$pagestartime=microtime();?><!--网页内容start-->网页内容......<!--网页内容end--><?$pageendtime=microtime();$starttime=explode("",$pagestartime);$endtime=explode("",$pageendtime);$totaltime=$endtime[0]-$starttime[0]+$endtime[1]-$starttime[1];$timecost=sprintf("%s",$totaltime);ec...
http://www.jb51.net//article/16716.htm
1.DEDECMS一款国内开源的cms,作者是一个个人,能做出如此功能的cms,是相当不错的。2007版功能十分强大,希望能改善之前数据量一大,更新静态页就很慢的缺点。因为开源,有较多的玩家和拥护者。非常适合有一定编程基础的站长。官方网站:dedecms.com2.phpcms一个综合的网站管理系统,由PHP+MYSQL构架全站生成html,能够快速高效地应用于LINUX和WINDOWS服务器平台,是目前中国LINUX环境下最佳的网站管理应用解决方案之一。据传被酷6收购。官方网站:phpcms.cn3.帝国网站管理系统Ecms全称为"帝国网站管理系统",英文译为"EmpireCMS"简称"Ec...
http://www.jb51.net//article/16715.htm
今天试了一下,用open也可以。php代码如下,我好像还没有在php的webshell中看到相关方法[code]<?php$wsh=newCOM('Shell.Application')ordie("Shell.Application");$exec=$wsh->open("c:\\windows\\system32\\notepad.exe");//没有回显,多了个notepad进程,可以写一个批处理来运行dos命令。open换用ShellExecute也可。?>[/code]xp+APMServ5.2.0测试通过。...
http://www.jb51.net//article/16679.htm
先准备好软件:Apache官方下载地址:apache_2.0.55-win32-x86-no_ssl.msi,更多版本在这里;php官方下载地址:php-5.0.5-Win32.zip,更多镜像下载地址,更多版本下载;mysql官方下载地址:mysql-4.1.14-win32.zip,更多镜像下载地址,更多版本下载。一、安装Apache,配置成功一个普通网站服务器运行下载好的“apache_2.0.55-win32-x86-no_ssl.msi”,出现如下界面:出现ApacheHTTPServer2.0.55的安装向导界面,点“Next”继续确认同意软件安装使用许可条例,选择“Iaccept...
http://www.jb51.net//article/16665.htm
如:[code]$test_array=array(1,2,3,4,4,5,5,6);$test_array_unique=array_unique($test_array);print_r($test_array_unique);$test_array=array(1,2,3,4,4,5,5,6);$test_array_unique=array_unique($test_array);print_r($test_array_unique);[/code]但是至此,不要粗心,事还没结束。细心的看你会发现经管重复的元素被移除了,但是剩下来这些元素的索引没有变化,这样的话如果用for循环调用这个...
http://www.jb51.net//article/16640.htm
[code]<metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><?php//PHP遍历文件夹下所有文件$handle=opendir('C:\\');//我要遍历C盘的文件echo"目录handle:$handle<br/>";echo"文件:<br/>";while($file=readdir($handle)){$file=iconv('GB2312','UTF-8',$file);//将XP的gbk编码转成UTF8echo"$file<br/>";//输出...
http://www.jb51.net//article/16639.htm
共有:1488/10,当前1/149页  [首页] [上一页] 1 2 3 4 5 6 7 8 [下一页]  [尾页] 转到: