建立一个网站,该网站允许用户通过智能手机的图像/视频意见书 [英] Build a website which allows image/video submissions via smartphone
问题描述
我想建立一个网站,让图像和视频的上传,从一个普通的浏览器。这部分是容易的。最棘手的部分,我是不熟悉的是让移动用户提交的图像/视频。我们的目标是为移动用户容易地上传图像。任何想法/建议,如何解决呢?谢谢!
I am trying to build a website which allows uploading of images and videos from a normal browser. This portion is easy. The tricky part which I am unfamiliar with is allowing mobile users to submit images/videos. The goal is for a mobile user to easily upload the image. Any ideas/suggestions on how to tackle this? Thanks!
*我要提到我已经有一个正常运作的网站,让图像/视频上传使用简单的HTML文件的形式。另外,我使用PHP开发。
*I should mention I already have a functioning website that allows image/video uploads using simple html file form. Also, I am using PHP to develop.
推荐答案
这不是因为你可能会觉得很困难。
有几种方法,以这样的:
It is not very difficult as you may think.
There are several approaches to this:
1)你可以建立一个移动版本,为您的网站适合手机屏幕。
2)建立一个web服务,做您的移动应用程序(例如机器人)后的形式要求。
1) You can build a mobile version for your website that fits mobile screen.
2) Build a webservice and doing a post form request from your mobile application(e.g Android).
您可以看看手机版本,以获得这背后的想法。
You can have a look at mobile version to get the idea behind this.
<一个href="http://stackoverflow.com/questions/9397076/android-sending-an-image-through-post/9397239#comment11873691_9397239">Android:通过POST发送图像
这篇关于建立一个网站,该网站允许用户通过智能手机的图像/视频意见书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!