Posts: 14
Threads: 3
Joined: Mar 2025
Institution: Norwegian University of Science and Technology
In a project I am involved in, we plan to let pupils in schools collect data that should be sent to a server.
Is there an easy way to send this data directly to the server without going through a mail program, or for example, Google Drive?
Posts: 622
Threads: 26
Joined: Apr 2020
Institution: RWTH Aachen University
Posts: 14
Threads: 3
Joined: Mar 2025
Institution: Norwegian University of Science and Technology
Thanks, I will look into this. The data files to be sent are quite large something that might be an issue.
Posts: 622
Threads: 26
Joined: Apr 2020
Institution: RWTH Aachen University
Size should not be that much of an issue over HTTP, should it? On the other hand: text/json is not … optimal for transferring numerical data.
Posts: 14
Threads: 3
Joined: Mar 2025
Institution: Norwegian University of Science and Technology
Seems to work, I am not used to working with PHP, but I could send and read the data.
The issue is that the users must be able to find their data on the planned webpage. But I can not find a way to show the uniqueID on the phone for identification of data.
Posts: 622
Threads: 26
Joined: Apr 2020
Institution: RWTH Aachen University
[Sorry, my answer did not get published]
The uniqueID cannot be shown and it would not be a comfortable way to identify data (huge random number that you would not want to enter or compare). We would generate personalised XML files that obtain an ID from your server, perhaps associated to user accounts. Alternatively, you could provide an edit field where users could enter a number.
Posts: 14
Threads: 3
Joined: Mar 2025
Institution: Norwegian University of Science and Technology
(05-07-2025, 09:54 AM)Jens Noriʇzsɔɥ Wrote: [Sorry, my answer did not get published]
The uniqueID cannot be shown and it would not be a comfortable way to identify data (huge random number that you would not want to enter or compare). We would generate personalised XML files that obtain an ID from your server, perhaps associated to user accounts. Alternatively, you could provide an edit field where users could enter a number.
The issue is that my collaborators wish that users (pupils) could access their measurements on a webpage and compare them with other measurements. An edit field with a number could be a solution, a good idea, thank you!
I got everything working now, except for some ordering issues with the data on the server. The order in which the data (IDs) is written in the resulting data file seems random. Some PHP issue, but not critical. Just work on the user interface remains and cleaning the code from ugly hacks.
Posts: 622
Threads: 26
Joined: Apr 2020
Institution: RWTH Aachen University
Sounds good. Congrats.
(I am not sure if I have been clear: you could provide the .phyphox files on that website and dynamically include IDs inside the XML files. You could even include user names, however, only in text rather than input fields.)