一、 关于php中dirname(_file_)的使用 php中定义了一个很有用的常数,即
__file__ 这个内定常数是当前php程序的就是完整路径(路径+文件名)。
即使这个文件被其他文件引用(include或require),__file__始终是它所在文件的完整路径,而不是引用它的...
分类:
Web程序 时间:
2014-06-07 04:30:13
阅读次数:
253
1 #include 2 #include 3 using namespace std; 4
const int Max = 100000; 5 int num[Max]; 6 int find_[Max]; 7 bool found[Max]; 8
int pos[Max] = { 9 ...
分类:
其他好文 时间:
2014-06-07 03:49:29
阅读次数:
250
## Makefile for h30_u10## The original zip
file, MUST be specified by each productlocal-zip-file := stockrom.zip# The
output zip file of MIUI rom,...
分类:
其他好文 时间:
2014-05-30 08:40:13
阅读次数:
333
转摘:oracle数据库表空间文件收缩实例
1.查看数据文件的使用情况包括内容:数据文件大小,已经used空间,free空间,hwm信息 1 select /*+ ordered
use_hash(a,b,c) */ 2 a.file_id,a.file_name,a.filesize, b.fre...
分类:
其他好文 时间:
2014-05-30 05:45:38
阅读次数:
342
IO用到的命名空间:using
System.IO;文件和目录的管理!File类FileInfo类Directory类DirectoryInfo类操作文件的类!FileStream{Seek(偏移的位置,参考位置);CopyTo(流对象);
等}StreamWriteStreamReaderBina...
分类:
其他好文 时间:
2014-05-30 02:48:15
阅读次数:
224
目录1. 文件包含的基本概念2. LFI(Local File Include)3.
RFI(Remote File Include)4. PHP中的封装协议(伪协议)、PHP的流式文件操作模式所带来的问题1.
文件包含的基本概念严格来说,文件包含漏洞是"代码注入"的一种。"代码注入"这种攻击,其原...
分类:
Web程序 时间:
2014-05-30 00:15:52
阅读次数:
626
点击Open
file导入arff格式的数据,这里我导入weka内置的weather.numeric.arff数据集查看preprocess右边的三个按钮,分别是分类、聚类、关联分析,选择你需要使用的功能这里我选择分类,点击choose按钮选择要使用的分类方法这里选择j48,一种决策树算法,再点击s...
分类:
其他好文 时间:
2014-05-29 22:57:28
阅读次数:
462
http://dongxicheng.org/mapreduce/hadoop-join-two-tables/http://dongxicheng.org/mapreduce/run-hadoop-job-problems/http://dongxicheng.org/mapreduce/hdfs...
分类:
其他好文 时间:
2014-05-29 12:27:09
阅读次数:
260
使用MyEclipse的Export功能可以方便地生成简单的Jar工具类。具体步骤如下:选择File -> Export,在弹出的窗口选择Java
-> Runnable JAR File,如下图所示:在Launch configuratioin 下选择相应的Java文件,在Export
desti...
分类:
系统相关 时间:
2014-05-29 09:45:32
阅读次数:
362
/** *将控制台文件输出到本地磁盘 */ public void writeDiskInfo() {
String dirName = "f:\\disk\\"; String fileName = "磁盘信息.xml"; File file = new
File(di...
分类:
其他好文 时间:
2014-05-29 08:22:59
阅读次数:
288