码迷,mamicode.com
首页 >  
搜索关键字:is_file    ( 50992个结果
PHP中正则替换函数preg_replace用法笔记
今天应老板的需求,需要将不是我们的页面修改一个链接,用js+iframe应该也能实现,但是我想尝试一下php实现方法。 首先你得先把别人的页面download到你的php中,实现方法可以用curl, file,这里有一篇文章写的不错http://www.11jn.com/phpbb/viewt...
分类:Web程序   时间:2014-05-23 07:15:41    阅读次数:354
中国海域系统源代码
file:///C|/Documentsand Settings/Administrator/桌面/clip_image006.gif f...
分类:其他好文   时间:2014-05-23 04:15:24    阅读次数:578
Add a system call on Ubuntu 13.04(x64) with x86_64
We added a system call to modify idt table, then programed it inmodify_idt.c1. Put our modify_idt.c file in/usr/src/linux-3.10.15/arch/x86/kernel2./us...
分类:其他好文   时间:2014-05-22 15:51:03    阅读次数:269
bk00
FORMdown_load_file_excelUSINGp_file_pathp_file_excelTYPESTANDARDTABLECHANGINGp_subrc.*StartingdownloadDATA:l_lcobj_excelTYPEole2_object,l_lcobj_workbo...
分类:其他好文   时间:2014-05-22 15:47:49    阅读次数:194
Centos6.4 NFS的安装与配置
NFS,是Network File System的简写,即网络文件系统。网络文件系统是FreeBSD支持的文件系统中的一种,也被称为NFS. NFS允许一个系统在网络上与他人共享目录和文件。通过使用NFS,用户和程序可以像访问本地文件一样访问远端系统上的文件。安装:[root@localhost e...
分类:其他好文   时间:2014-05-22 15:36:46    阅读次数:341
录音机录制声音
1、定义/* 录制的音频文件 */ private File mRecAudioFile; private File mRecAudioPath; /* MediaRecorder对象 */ private MediaRecorder mMediaRecorder; /* 录音文件列表 */...
分类:其他好文   时间:2014-05-22 15:20:23    阅读次数:236
调用录音界播放音频文件
/* 播放录音文件 */private void playMusic(File file){Intent intent = new Intent();intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);intent.setAction(android.con...
分类:其他好文   时间:2014-05-22 15:18:27    阅读次数:269
调取系统相机、并将图片展示在ImageView上
package com.ting.textcover;import java.io.File;import android.app.Activity;import android.content.Intent;import android.graphics.Bitmap;import android...
分类:其他好文   时间:2014-05-22 14:30:14    阅读次数:321
python实现代码行的统计
最近闲来无事写了一个统计C或者C++代码行数的程序,主要用到了python以及正则表达式 #-*-coding:utf-8 #!/usr/bin/python import re import os import sys '''get the file or dir in one path''' def getfilename(path): if os.path.exi...
分类:编程语言   时间:2014-05-21 15:06:30    阅读次数:379
为编写的Windows程序提升权限
1.要求以管理员身份运行     在vs工程属性中,Linker ---> Manifest File---> UAC Execution Level,选择requireAdministrator (/level='requireAdministrator')选项     2.在main函数开始时运行以下函数代码: BOOL WINAPI EnablePriv...
分类:Windows程序   时间:2014-05-21 13:54:20    阅读次数:505
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!