0

Hi guys, I'm trying to create a "pool" of data that once added to is saved on a public domain. For example, data is stored at "url.com/data.txt".

data.txt:

18473,948263,384292,47239,

Client 1 connects to some url (which I need help with, thinking some PHP) with data as arguments. Adds: 39458,359835

Client 2 connects as well then adds: 92349823,23984

After:
data.txt:

18473,948263,384292,47239,39458,359835,92349823,23984

Any help would be extremely appreciated. And also, if anyone is familiar with GitHub and you know how to save the data on that site, that would be the absolute best. I was thinking the solution be something like a small PHP script where the data is in the URL in two segments (data will be uploaded with two integers at a time), which would then write to the data.txt file. I may be totally off, this may be done solely with java, but I have no idea how to prevent the abuse of the system that way.

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by JeffGrigg
0

Here's my contribution:

49274878437,2983874698273

Glad to have helped!

Edited by JeffGrigg: n/a

0

Really, any web server technology could handle this kind of thing.

If you want to prevent "abuse," you have to do some thinking beyond "people upload pairs of numbers." Like how would you know "good" numbers from "bad?" And how do you intend to use these numbers?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.