+ 1
How to upload a file/document to a website using PHP and JSON?
I have multiple student records stored in a json database. Each student record should contain their separate files uploaded by the admin of the Web based database system. How do I upload a file from the pc on to the website (which will be stored in the json database) using php?
2 ответов
+ 1
You can "Upload" The file by
having a json file alredy in your web host, where you only "Append" or "Replace" With The content of the uplodaded file, you can upload the file by : Passing its content as rae lines to host.
0
Hendrick Y. "NoVa" could you give an example of the php code?