Finding out who sent data to my website [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
So, I wanted to write myself a Java program, which will send a bunch of data (probably formatted as JSON) to my website, which will then write that data to MySQL, but I also want my website to get the IP, from which this data was sent.
But is this even possible? I don't have too much experience with PHP :/

The answer is here: http://stackoverflow.com/questions/15699101/get-the-client-ip-address-using-php
Easy solution is:
$IP = $_SERVER['REMOTE_ADDR'];

Related

Is it possible to write a Java client to access Tensorflow Server? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I set up a simple Tensorflow server with instructions from here https://tensorflow.github.io/serving/serving_advanced, using my own model. Is there a way to make predict requests directly from Java?
If it's possible, please provide some source code.
Thanks!
Yes can use the tensorflow Java API, doc here. And the java api is experimental.

How to collect news from different websites [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am starting working on a new app which will show news of different channels. But I am bit confused that how to get data from websites which will update automatically. Am I need their API keys for integration or some other method. please give me some suggestions.
News sites will likely have RSS feeds. You can use classes from System.ServiceModel.Syndication to parse them. In-depth discussion here.

How does Random Access File Work [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I 'm starting to learn Java I / O and i started with Random Access File,I cant find any good information about using Random Access File if some one cant give me some good references to how it works Does it read/write binary or text files? how can i do this? witch are the most correct ways to read/write in files,thanks to all :)
Maybe you are looking for a tutorial like this?
http://examples.javacodegeeks.com/core-java/io/randomaccessfile/java-randomaccessfile-example/

How to transit data between Java applet and ASP.NET web page? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Is there a way to pass data from Java applet to aspx page and vice-versa?
You can have a look at websocket.
For the java part, I have a good experience with this library:
http://www.ning.com/code/2010/03/introducing-nings-asynchronous-http-client-library/
On the Windows side, there's a problem that websocket is supported since Windows 8. I don't know if it will suffice or if there's some workaround

Thread and socket programming [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to see some example of threads using sockets to send and receive a message. I am almost new to it.I google it but there was no useful and simple example for beginners. Can you help me with this please?
java sockets#oracle

Categories

Resources