从使用PHP编写的网页上将照片上传到Azure存储的最佳方式 [英] Best way to upload photo's to Azure Storage from a webpage written in PHP

查看:101
本文介绍了从使用PHP编写的网页上将照片上传到Azure存储的最佳方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果可能的话,我会提供一些帮助。 我们使用PHP开发了一个网页。 该网页包含一个表单以及一个上传照片的区域。 提交后,网页会向逻辑应用程序发送一个JSON文件,然后使用该数据更新我们的Azure SQL
数据库。 我们还需要在提交表单时以某种方式将照片上传到我们的Azure存储blob。 这可能吗? 任何建议都将非常感谢!

I'm after a bit of help please if possible.  We've developed a webpage using PHP.  The webpage consists of a form and also an area to upload photo's.  Upon submit the webpage sends a JSON file to logic apps which then updates our Azure SQL DB with the data.  We also need to somehow upload the photographs to our Azure storage blob from the website upon submitting the form.  Is this possible please?  Any advise would be very much appreciated!

谢谢。

推荐答案

我没有任何建议我打电话给你的PHP样本,我现在可以与你分享。我认为下面的解决方案(第三方博客)应该是相当不可知的,因为您可以通过使用HTTP触发器调用Azure函数来处理图片的上传。
如果您有任何其他问题,请告诉我们。

I do not have any PHP samples of calling that I can share with you at this time. I think the below solution (3rd party blog) should be rather agnostic though as you can call an Azure Function to process the uploading of the picture by using an HTTP trigger. Please let us know your thoughts and if you have any additional questions.

https://www.jankowskimichal.pl/en/2018/02/azure-function-uploading-photos-to-azure- blob-storage /

https://www.jankowskimichal.pl/en/2018/02/azure-function-uploading-photos-to-azure-blob-storage/


这篇关于从使用PHP编写的网页上将照片上传到Azure存储的最佳方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆