社区
网络通信/分布式开发
帖子详情
用delphi+apache编程,怎么提交
远程Scada
2003-11-03 12:45:29
delphi+apache开发网站。。。
...全文
66
3
打赏
收藏
用delphi+apache编程,怎么提交<input type="file" name="attachfile" size="20" value="value" class="p1" />
delphi+apache开发网站。。。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
远程Scada
2003-11-03
打赏
举报
回复
#########关键在于你的这个<input type="file" name="attachfile" size="20" value class="p1">应该放在表单之中###########
当然放在form里面的了,我的意思是如何实现文件上传,其他功能都实现了。
chl_ccssddnn
2003-11-03
打赏
举报
回复
关键在于你的这个<input type="file" name="attachfile" size="20" value class="p1">应该放在表单之中,因为表单才是用户与服务器之间传送信息的桥梁。
提交方法修改:
<form action="ttl" method="post" enctype="multipart/form-data" name="form1">
<input type="file" name="attachfile" size="20" value class="p1">
<input type="submit" name="Submit" value="提交">
</form>
这时你点击提交按钮,你浏览的文件将以二进制的形式上传到服务器上,由天tt1来处理,tt1就是你用delphi设计的,
delphi_xizhousheng
2003-11-03
打赏
举报
回复
没有做过,帮你up
关于
input
type
="
file
"表单
提交
及文件流的动态赋值
我们都知道,html5中有个
input
type
=
file
元素。用该元素可以实现页面上传文件的功能 。 页面上写一个
input
,然后选择一个文件,打印这个
input
对象 $('.up-
file
').on('change',function(e){ //上传 console.log( e.currentTarget) })
input
的选择的文件被记录到了这个对象中,这个是fi...
form表单中
input
输入框的用法总结
1. <
input
type
="text">
type
类型为text,定义一个可以输入内容文本输入框 2. <
input
type
="submit"
value
="
提交
">
type
类型为text,定义一个按钮,点击会
提交
到form表单地址中 另外:<button>
提交
</button> 按钮的标签button...
input
type
=
file
标签禁止让用户手动输入
1. 替代法 使用隐藏的控件,然后用一个只读的文本框和一个按钮来模拟的功能。 2. 使用脚本事件限制控件输入 将控件的鼠标右键菜单、按键事件限制住,不让用户有机会输入。 3. 使用contenteditable属性 使用该属性可以有效地限制用户在控件中手动输入内容,而只能通过文件选择对话框选择文件。 第2种方法(有焦点)可以通过菜单栏中“编辑”——“粘贴”将信
获取checkbox中被选中的值
对于下面的前台代码,要获取其中被选中的checkbox的值 <form name="testForm" id="myForm"> <
input
type
="checkbox" name="ids"
value
="1" />1<br /> <
input
type
="checkbox"
Form表单之
input
文本框操作
input
文本框操作: Form表单文本框操作示例1 label{display:inline-block;width:7em;margin-left:0.3em;margin-right:0.3em;}
input
{margin-top:0.3em;margin-bottom:0.3em;} .tipmsg{font-
size
:12px;color:#f00;}
网络通信/分布式开发
1,594
社区成员
32,947
社区内容
发帖
与我相关
我的任务
网络通信/分布式开发
Delphi 网络通信/分布式开发
复制链接
扫一扫
分享
社区描述
Delphi 网络通信/分布式开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章