Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Foreign Languages > Italian Forum
Home Register FAQ Members List Search Today's Posts Mark Forums Read


Get External IP (public)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-19-2008, 08:08 PM
maXim's Avatar
Senior Member
 
Join Date: May 2007
Location: Florence, Italy
Posts: 155
Send a message via MSN to maXim Send a message via Skype™ to maXim
Awards Showcase
Beta Tester 
Total Awards: 1
Post Get External IP (public IP)

Quella che propongo questa volta è una soluzione piuttosto semplice per rilevare l'IP esterno, quello pubblico visto da internet per interderci.

This is a simple solution to notice the external IP (public IP).


Gli interessati possono effettuare il download del progetto dal link sottostante...

The download of the solution (including sources) can be followed from the link below ...
Attached Files
File Type: zip db2000 IP.zip (269.3 KB, 48 views)

Last edited by maXim : 05-21-2008 at 08:48 AM.
Reply With Quote
  #2 (permalink)  
Old 05-20-2008, 04:55 PM
maXim's Avatar
Senior Member
 
Join Date: May 2007
Location: Florence, Italy
Posts: 155
Send a message via MSN to maXim Send a message via Skype™ to maXim
Awards Showcase
Beta Tester 
Total Awards: 1
Post

Per tutti coloro che hanno un sito web, al quale preferirebbero "dirottare" le richieste della procedura del precedente post, propongo la creazione di una pagina SHTML tipo la seguente:

For all those who have a website, which prefer to "hijack" the demands of the procedure of the previous post, I propose the creation of a page SHTML like the following:

Code:
.<html>
.  <head>
.    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
.    <title>GET YOUR IP (shtml)</title>
.  </head>
.  <body>
.    Your Public IP:&nbsp;
.    <!--#echo var="REMOTE_ADDR"-->
.  </body>
.</html>
(esempio/sample in SHTML)

A secondo della necessità si può optare anche per una pagina ASP dove, anche in questo caso, una sola riga di codice (VBScript) risolve l'indirizzo IP:

Depending on the need can also opt for an ASP page where a single line of code (VBScript) resolves the IP address:

Code:
.<html>
.  <head>
.    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
.    <title>GET YOUR IP (asp)</title>
.  </head>
.  <body>
.    Your Public IP:&nbsp;
.    <%
.      Response.Write Request.ServerVariables("REMOTE_ADDR")
.    %> 
.  </body>
.</html>
(esempio/sample in ASP)

Nel file compresso, che potete scaricare dal link sottostante, trovate alcune pagine web di esempio...

In the compressed file, downloadable from the link below, find some webpages sample...
Attached Files
File Type: zip web pages.zip (219.5 KB, 12 views)

Last edited by maXim : 05-21-2008 at 08:47 AM.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Initializing global public variables corwin42 Beta Versions 1 08-27-2008 01:52 PM
external or internal GPS? Georg Questions & Help Needed 4 07-31-2008 05:56 PM
Get External IP (public IP) maXim Code Samples & Tips 1 05-23-2008 09:09 AM
External compiler error prinsen Questions & Help Needed 5 03-19-2008 08:54 PM
How to add an external library? ikaplan Questions & Help Needed 2 12-06-2007 10:59 AM


All times are GMT. The time now is 12:14 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0