为编程爱好者分享易语言教程源码的资源网

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

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

三叶资源网 2022-09-16 20:18:50 PHP编程 880 ℃ 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
七天学会nodejsJBecExDUI视频教程网页解析类例程调用AI单纯挖矿利用alpha属性绘制图形API创建窗口略缩图奇易浏览框大众点评游民星空趣头条APP加密HPSocket选择夹图片组CommonJSjar解包微信支付定义数据类型
最新评论