Jump to content




Online app


  • You cannot reply to this topic
5 replies to this topic

#1 RoD

  • Members
  • 313 posts

Posted 21 June 2014 - 02:52 PM

Hey everyone,
I am trying to make an app that can comunicate with other computers (cc computers) trough the world wide web.
I tryed pastebin (uploading values) but i then realized that i can't use it due the url being randomly generated.
I need to upload text so other computers can read it and know that other computer is trying to connect with him. I also need to be able to change the data. Is it possible? I dont really want to buy a server for a website, but it look like one of the few only options. Or is there any website that does what i intend?

#2 sEi

  • Members
  • 41 posts

Posted 21 June 2014 - 03:50 PM

If you register at pastebin you get a uniq ID so you can edit pastes without changing their url. And then if you make a program using HTTP contacting pastebin you 'might' get it to play.

Hope this helps - it is just a shot from the hip!

/sEi

#3 RoD

  • Members
  • 313 posts

Posted 21 June 2014 - 04:08 PM

View PostsEi, on 21 June 2014 - 03:50 PM, said:

If you register at pastebin you get a uniq ID so you can edit pastes without changing their url. And then if you make a program using HTTP contacting pastebin you 'might' get it to play.

Hope this helps - it is just a shot from the hip!

/sEi
I have and pastebin account. The problem is, if i want to change data in a paste, i need to put my account details (username and password) in the code...

#4 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 21 June 2014 - 05:19 PM

I suspect that if Cranium's SmartPaste isn't what you want, it'll at least demonstrate what you need to know.

Bear in mind that anonymous pastes can't be edited. Users will need a Pastebin account if they're going to use that server. The trick is to have your script ask the user which account to use...

#5 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 21 June 2014 - 05:40 PM

Pastebin is really the wrong thing to use for this, though. They'll start throttling your IP and eventually temporarily ban it if you pull down too many pastes too quickly. You'll want to set up a web server with a little php script that takes posted data and serves it up again.

#6 RoD

  • Members
  • 313 posts

Posted 21 June 2014 - 08:36 PM

Ok thanks guys, i will try to get a webserver :P





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users