-
一个实现文件读取与写入的示例小程序,简单的记事本程序,重在理解文件操作原理...
一个实现文件读取与写入的示例小程序,简单的记事本程序,重在理解文件操作原理-achieve a file read and write small programs example, the simple procedure of the notebook, it is important for understanding the document operation principle
- 2023-08-22 12:20:03下载
- 积分:1
-
CI框架上传类改写,支持多附件上传
CI框架上传类改写,
原来的程序只支持一个附件上传,并不支持控件数组上传。
现已修改支持多附件上传。将该文件放到自己程序目录中的libraries文件夹下。
调用如下:
// 附件上传处理
$folder = date("Ym");
$upload_dir = APPPATH . "/app/upload/".$folder;
$config["upload_path"] = $upload_dir;
$config["allowed_types"] = "gif|jpg|png|txt|doc|docx|xls|xlsx|ppt|pptx|pdf";
$config["max_size"] = "5120";
$config["max_width"] = "0";
$config["max_height"] = "0";
$config["max_filename"] = "0";
$config["overwrite"] = false;
$config["encrypt_name"] = true;
$config["remove_spaces"] = true;
$this->load->library("upload", $config);
$field_name = "att";
if (!$this->upload->do_upload($field_name, true))
{
// 出错
$error = array("error" => $this->upload->display_errors());
} else {
// 正
- 2022-05-05 09:14:31下载
- 积分:1
-
Word phrase statistics, can be found in txt file all the repeated words and phra...
单词词组统计,可以找出txt文件中的所有的重复的词和词组。-Word phrase statistics, can be found in txt file all the repeated words and phrases.
- 2023-02-05 11:20:04下载
- 积分:1
-
用CStdioFile读写文件,实现文件的串行化操作
用CStdioFile读写文件,实现文件的串行化操作-CStdioFile reading and writing with paper documents realize serialization operation
- 2022-04-11 16:34:32下载
- 积分:1
-
一个文本编辑器,在网上下的。为了充足我们网站的代码,传一下...
一个文本编辑器,在网上下的。为了充足我们网站的代码,传一下-a text editor, the on-line. To our website adequate code, communicating what
- 2023-01-27 20:25:03下载
- 积分:1
-
linux下C++编程入门及MAKE文件
linux下C++编程入门代码,helloworld 文件 信号量 文件属性 账号属性
linux cpluscplus program for new learner porpose
- 2023-01-07 19:30:03下载
- 积分:1
-
一个目录拷贝的源码例子,可以整个目录检索和拷贝
一个目录拷贝的源码例子,可以整个目录检索和拷贝-Copy of the source code example of a directory
- 2022-03-07 09:49:54下载
- 积分:1
-
数字 CMOS VLSI 设计方法
这解释数字 CMOS VLSI 设计方法中的全部细节。它描述了数字 CMOS 集成电路和细节设计方面。A 必须为研究生。
- 2022-06-03 20:32:34下载
- 积分:1
-
文件快车1(227KB)<END>
文件快车1(227KB)-a document Express (227KB) lt; ENDgt;
- 2022-08-12 08:09:56下载
- 积分:1
-
Times the software can encrypt documents, to ensure that information security do...
次软件可以给文件进行加密,确保文件信息的安全.-Times the software can encrypt documents, to ensure that information security documents.
- 2022-07-07 12:25:40下载
- 积分:1