为编程爱好者分享易语言教程源码的资源网
好用的代理IP,游戏必备 ____广告位招租____ 服务器99/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器
好用的代理IP,游戏必备 ____广告位招租____ 服务器低至38/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器

网站首页 > 网络编程 > PHP编程 正文

php021演示文档3(php操作word 文档)

三叶资源网 2022-09-16 20:18:50 PHP编程 235 ℃ 0 评论

html文件

<meta charset='utf-8'>

<form method="post"enctype='multipart/form-data'action="upload.php">

<input type="file" name="mFile[]"><p>

<input type="file" name="mFile[]"><p>

<input type="file" name="mFile[]"><p>

<input type="file" name="mFile[]"><p>

<input type="file" name="mFile[]"><p>

<input type="submit"value='上 传'>

</form>

php文件

//echo '<pre>';

//

//print_r( $_FILES );

//$mfile = $_FILES['mFile'];

//

//$tmps = $mfile[ 'tmp_name' ];

//

//$dname = '../son/img/';

//

//$fn = $mfile['name'];

//

//foreach( $fn as $k=>$v ){

// $dfn = $dname . $v;

// $tmp = $tmps[ $k ];

// move_uploaded_file( $tmp, $dfn );

//}

//if( strstr( $fn, '.jpeg' ) )

// $fn = str_replace( '.jpeg', '.jpg', $fn );

//

//move_uploaded_file( $tmp, $fn );

$arr = array();

$arr[] = 1;

$arr[] = 11;

$arr[] = 111;

$arr[] = 1111;

$arr[] = 11111;

print_r( $arr );

来源:三叶资源网,欢迎分享,公众号:iisanye,(三叶资源网⑤群:21414575

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

百度站内搜索
关注微信公众号
三叶资源网⑤群:三叶资源网⑤群

网站分类
随机tag
服务器控制继电器API源码变体型MTP发信超级代理服务端QQ好友批量点名片赞GDI+编码模块进程抓包自动下单httpwacth超级列表框背景透明套接字微博授权Accessible断点下载RapidJSON易语言模块分析
最新评论