|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Ip?????
<i><b>Originally posted by : Mike123 (idonthave@poorpeople.com)</b></i><br />How can i now the IP of the client and put this ip in a database<br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Mage (mage@baltnet.ru)</b></i><br />Hi Mike!<br /><br />You can use this:<br /><br />ipAddress = Request.ServerVariables("REMOTE_ADDR")<br /><br />And after that you can store it in your DB:<br /><br />Set conn = Server.CreateObject("ADODB.Connection")<br />conn.connectionstring = "yourDB"<br />conn.open<br />SQLtext = "INSERT INTO ipDBtable (remoteIP) VALUES (" & ipAddress & ")"<br />Call conn.Execute(SQLtext)<br /><br />Regards,<br />Mage<br /><br />------------<br />Mike123 at 3/31/2001 1:23:58 PM<br /><br />How can i now the IP of the client and put this ip in a database<br />
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Ip????? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|