-
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
-
趋势曲线图
You Might Want To Copy The Files Into The System Directory
Before Regi...
趋势曲线图
You Might Want To Copy The Files Into The System Directory
Before Registering Them With FSOCX.EXE
Programs available from the homepage are
FS TextFile........ VB OCX Easy Access To Text Files
FS AnimIcon........ VB OCX Animated Icon s For The Taskbar
FS FunkyFont....... VB OCX Multicolored fonts in a textbox
FS OnlineUpdate.... VB OCX to perform Online Version Checks
FS Utils........... VB OCX alot of little functions
FS Password........ VB OCX Password protect your Apps
FS CommonDialog.... VB OCX missing part of commondialog
FS TweakDUN........ Easy access to tweakDUN from taskbar
FS Scroll.......... VB OCX Scroll forms or controls
FS DateCheck....... VB OCX setup App s to stop after a date
FS OCXReg.......... A small program to register/unregister OCX s
FS MsgBox.......... VB OCX programmable MsgBox replacment
FS Digital......... VB OCX 3 color digital display
FS File............ VB OCX find files-file type on any drive-trend curves You M
- 2022-11-13 00:05:04下载
- 积分:1
-
VC完整应用程序代码本代码实现利用FCI/FDI库进行文件压缩
VC完整应用程序代码本代码实现利用FCI/FDI库进行文件压缩-VC integrity of the application code using code to achieve FCI/FDI library file compression
- 2023-04-20 02:50:03下载
- 积分:1
-
procedures Note : 1 : Multi
程序说明: 1:多用户系统 2:商品分类支持多级; 3:支持IPAY 在线支付系统和银行转账; 4:功能完整,可以收藏,EMAIL推荐给好友,在线充值,银行转账 具体功能见演示-procedures Note : 1 : Multi-User System 2 : Commodity Classification support multi-level; 3 : support IPAY online payment systems and bank transfers; 4 : functional integrity, collections, EMAIL recommended to friends, online prepaid, bank transfer specific functions to see demo
- 2022-03-29 11:57:22下载
- 积分:1
-
UNIX unistd h头文件。
/*版权所有(C)1991-2009、2010、2011、2012自由软件基金会。
- 2022-01-25 16:51:10下载
- 积分:1
-
一个读取和写入ini配置文件的例子。从list1中读出数据写入到ini文件,再从ini文件写入到list2。...
一个读取和写入ini配置文件的例子。从list1中读出数据写入到ini文件,再从ini文件写入到list2。-Ini to read and write a configuration file example. List1 in读出数据from written to ini file, ini file from the write to list2.
- 2022-01-22 01:10:49下载
- 积分:1
-
delphi开机启动管理程序
Delphi编写的用于检查开机项启动项的小程序,可通过注册表的操作,依次检测注册表各个键值分支下的开机启动运行项目,并列举出这些内容后,支持让用户删除此项目。本程序的扩展性还是有很大空间的,稍加改造,可写成一款系统优化软件,为电脑中级以上用户监控木马和病毒提供方便,省了翻找注册表的麻烦。
- 2022-06-20 11:28:59下载
- 积分:1
-
使用STL对INI文件进行操作,时间匆忙没有加注释信息。交叉
使用STL对INI文件进行操作,时间匆忙没有加注释信息。跨平台,可以在Windows和Linux下使用。-use STL right INI file operation, no time to rush footnote information. Cross-platform, the Windows and Linux use.
- 2022-07-15 16:48:16下载
- 积分:1
-
vb.net this is the document prepared by the division that can be separated into...
这个是用vb.net编写的文件分割器,可以将一个文件分割成多个文件,还可以将分割后的文件组合成原来的文件。-vb.net this is the document prepared by the division that can be separated into a number of paper documents, but also can be divided after the original document into a document.
- 2022-02-26 17:31:07下载
- 积分:1
-
一个自己编写的window文件管理程序!!模拟window
一个自己编写的window文件管理程序!!模拟window-a prepared their document management procedures window! ! Simulation window
- 2022-01-22 17:44:20下载
- 积分:1