Table of Contents
回复内容:
Home Backend Development PHP Tutorial 类似微信朋友圈带图片的说说是如何上传的?

类似微信朋友圈带图片的说说是如何上传的?

Jun 06, 2016 pm 08:36 PM
php WeChat

是和文字内容作为一个表单上传还是通过一个专门的接口上传图片。哪一种策略更好?

回复内容:

是和文字内容作为一个表单上传还是通过一个专门的接口上传图片。哪一种策略更好?

使用第三方的云存储平台,都是先把把图片存储到云平台上,然后把链接提交到服务器

@standopen 业内有哪些比较好的云平台,用来存储服务器的图片

都可以,一起上传的话实现简单,但是分开上传用户体验和效率上来说都更好

一般用程序先控制图片上传至云存储,成功后将返回的路径连同文字上传至服务器数据库。当然要是要求不是很高,直接传也没问题啊

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article

Hot Article

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

deepseek image generation tutorial deepseek image generation tutorial Feb 19, 2025 pm 04:15 PM

deepseek image generation tutorial

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

Discuss CakePHP

CakePHP Quick Guide CakePHP Quick Guide Sep 10, 2024 pm 05:27 PM

CakePHP Quick Guide

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

How To Set Up Visual Studio Code (VS Code) for PHP Development

gateio Chinese official website gate.io trading platform website gateio Chinese official website gate.io trading platform website Feb 21, 2025 pm 03:06 PM

gateio Chinese official website gate.io trading platform website

CakePHP Useful Resources CakePHP Useful Resources Sep 10, 2024 pm 05:27 PM

CakePHP Useful Resources

PHP Program to Count Vowels in a String PHP Program to Count Vowels in a String Feb 07, 2025 pm 12:12 PM

PHP Program to Count Vowels in a String

See all articles