Implementation of sending pictures to the client in tp5
Merovingian
Merovingian 2019-03-10 17:36:37
0
3
1087

We have now made a mobile App. The data on the App is sent to the server. The server is written using the tp5 framework. There is a question: How to transfer the photos in the server memory to the app! The photo has been placed in the upload folder in the public part of the tp5 framework. What should be the general idea and how should it be written? Please help me.

Merovingian
Merovingian

reply all(1)
Martin Huang

If it is in the Public directory, anyone can access it. You only need the app client to initiate a get request to obtain it.

  • reply So what else does my server need to do?
    Merovingian author 2019-03-11 09:53:34
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!