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

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

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

三叶资源网 2022-09-16 20:18:50 PHP编程 1144 ℃ 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,(三叶资源网⑤群:806035103 )

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

欢迎 你 发表评论:

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

网站分类
随机tag
appium模块翻译助手UI界面喜马拉雅主播粉丝采集POST教程LOL无限视距粒子特效Lua支持库树型框应用京东注册滑块QQ头像修改源码HP-socket3识别炫彩界面WebSocket二维码生成觅风易语言教程网页POST二进制易语言编程基础教程网页填表
最新评论