| | |
Ip Code Snipet and Logging
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2005
Posts: 4
Reputation:
Solved Threads: 0
Hello I do not know java however, I know that with java you can log IP addresses. If someone could, would they please write a script that could be embeded into an html file. This sript should collect the IP address and store it in a file.
Thats all. Thank You!!!
If your wondering why, I have friends that call me and ask me to help them and I don't like having to tell them how to find their IP address (it takes too long). The IP is needed so I can connect to their computer and controll it via remote control software. If someone could do this I will be very greatful! This is not hacking my friends are aware that I am in their computer. And I can coonect only when they turn on the software on their end. So they have to be there.
~John
Thats all. Thank You!!!
If your wondering why, I have friends that call me and ask me to help them and I don't like having to tell them how to find their IP address (it takes too long). The IP is needed so I can connect to their computer and controll it via remote control software. If someone could do this I will be very greatful! This is not hacking my friends are aware that I am in their computer. And I can coonect only when they turn on the software on their end. So they have to be there.
~John
•
•
Join Date: Jun 2004
Posts: 2,108
Reputation:
Solved Threads: 18
I think you want javascript. Java can do this, but it's not going to be some script you plug into an html document and it runs. You could use jsp or servlets to EASILY get their ip.
By the way, if you just need to find their ip, got to the command line and type in:
ipconfig
That will give you the ip address and plus some.
By the way, if you just need to find their ip, got to the command line and type in:
ipconfig
That will give you the ip address and plus some.
•
•
Join Date: Jul 2005
Posts: 4
Reputation:
Solved Threads: 0
yeah I knew about Ipconfig. I was just wondering if anyone could write a small snipet of code for me that would log someones to a log file... I never thought about the code being to different I thought you would just have to put some html tags around some code and that would do it. Realy thats all i need some code that I could put html tags around and so it does as I described.
If any one could do this for me I thank you!
If any one could do this for me I thank you!
You may be able to find something at http://javascript.internet.com/user-details/
Too lazy to look right now :-)
EDIT: http://javascript.internet.com/user-...p-address.html
It doesn't log anything, but it will tell them their IP.
Too lazy to look right now :-)
EDIT: http://javascript.internet.com/user-...p-address.html
It doesn't log anything, but it will tell them their IP.
![]() |
Similar Threads
- Anyone want to learn Ruby (Ruby)
- Errors help (C++)
- bank account (C++)
- sound file switching (C)
Other Threads in the Java Forum
- Previous Thread: Putting digits in an array one by one.
- Next Thread: public pathroom problem (plz help)
Views: 2202 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for Java
3d @param affinetransform android api apple applet application arc arguments array arrays automation binary bluetooth byte c# chat class classes click client code compare component corrupted database detection draw eclipse error event exception file fractal game givemetehcodez graphics gui guitesting helpwithhomework html ide image input integer j2me java java.xls javaprojects jmf jni jpanel julia keytool linux list loop map method methods mobile netbeans newbie number object oracle os pong print problem producer program programming project projectideas read recursion reflection replaysolutions rim scanner screen server set size sms socket sort sql string swing terminal test threads time transfer tree web windows






