search

Home  >  Q&A  >  body text

Implementation of sending pictures to the client in tp5

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.

MerovingianMerovingian2133 days ago1204

reply all(3)I'll reply

  • Icetalker

    Icetalker2019-03-11 07:39:06

    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
    0
  • Merovingian

    So what else does my server need to do?

    Merovingian · 2019-03-11 09:53:34
  • Cancelreply