任何现成的“上传”工具? [英] Any ready made 'Upload' tools?
问题描述
我已经搜过像Bravenet这样的网站,却找不到我想要的东西,这是一个准备好工具的工具,可以让我在我的网站上放置一个上传按钮。 />
点击后,这将为访问者提供一个浏览窗口,从他们的HD中选择一个文件
并将其上传到我的FTP站点。显然访问者不会看到我的FTP密码或访问它。
任何人都可以推荐免费服务提供这样的工具我可以
只是''放'进我的网站?
谢谢。
< blockquote> Mark Hamptons写道:
我已经搜过像Bravenet这样的网站,但找不到我想要的东西,这是一个准备好的工具,可以让我放置一个上传按钮在我的网站上。
点击后,这将为访问者提供一个浏览窗口,从他们的HD中选择一个文件,然后将其上传到我的FTP站点。显然访问者不会看到我的FTP密码或访问它。
http://www.hotscripts.com/PHP/Script...ems/index.html
" Mark Hamptons"写了我已经搜过像Bravenet这样的网站,但找不到我想要的东西,这是
a准备好的工具,让我在我的网站上放置一个上传按钮。单击时,这将为访问者提供一个浏览窗口,从他们的HD中选择一个文件,然后将其上传到我的FTP站点。显然,访客将看到我的FTP密码或者无法访问它。$
任何人都可以推荐免费服务,提供这样的工具我可以删除 '进入我的网站?
< form method =" post"行动= QUOT; somescript" enctype =" multipart / form-data">
< input type =" hidden"名称= QUOT; MAX_FILE_SIZE" value =" 7340032">
< input type =" file" name =" uploadme">
< input type =" submit">
< / form>
五行,你需要改变的唯一一点就是somescript。应该
指向接收表单的脚本。这个脚本看起来应该是什么
就像是php新闻组的asp,或者任何服务器端的问题
语言可供你使用。
HTH
Ivo
Ivo写道:< form method =" post"行动= QUOT; somescript" enctype =" multipart / form-data">
< input type =" hidden"名称= QUOT; MAX_FILE_SIZE" value =" 7340032">
< input type =" file" name =" uploadme">
< input type =" submit">
< / form>
什么'有隐藏的MAX_FILE_SIZE字段?如果您的脚本应该是
来检查文件大小以确保它在那之下,您需要重新考虑
您的安全性:任何知道他们''的人重做可以轻松改变
那个。您的脚本需要具有硬编码的最大文件大小。
Hi, I''ve scoured sites like Bravenet but cannot find what I want, which is a
ready to go tool that will let me place an Upload button on my web site.
When clicked this will give the visitor a Browse window to select a file
from their HD and upload it to my FTP site. Obviously the visitor will not
see my FTP password or have access to it.
Can anyone recommend a free service that provides a tool like this I can
just ''drop'' into my site?
Thanks.
Mark Hamptons wrote:Hi, I''ve scoured sites like Bravenet but cannot find what I want, which is a
ready to go tool that will let me place an Upload button on my web site.
When clicked this will give the visitor a Browse window to select a file
from their HD and upload it to my FTP site. Obviously the visitor will not
see my FTP password or have access to it.
"Mark Hamptons" wroteHi, I''ve scoured sites like Bravenet but cannot find what I want, which is a ready to go tool that will let me place an Upload button on my web site.
When clicked this will give the visitor a Browse window to select a file
from their HD and upload it to my FTP site. Obviously the visitor will not see my FTP password or have access to it.
Can anyone recommend a free service that provides a tool like this I can
just ''drop'' into my site?
<form method="post" action="somescript" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="7340032">
<input type="file" name="uploadme">
<input type="submit">
</form>
Five lines, and the only bit you need to change is "somescript" which should
point to the script that receives the form. What this script should look
like is a question for an asp of php newsgroup, or whatever serverside
language is available to you.
HTH
Ivo
Ivo wrote:<form method="post" action="somescript" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="7340032">
<input type="file" name="uploadme">
<input type="submit">
</form>
What''s with the hidden MAX_FILE_SIZE field? If your script is supposed
to check the file size to make sure it''s under that, you need to rethink
your security: anyone who knows what they''re doing can easily change
that. Your script needs to have the maximum file size hard-coded.
这篇关于任何现成的“上传”工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!