Get Visitor IP Address - Using ADDT

Hi All,
Does anyone know how to use the ADDT function to get a visitors IP address when submitting a form on your site?
For example each time someone logs in to a member / restricted area using login details "Providing the history tab is used" it stores the IP address of the member / visitor to the history table.
I need to simple get the users IP address when they submit a form when they are not a member or logged in the to members area.
Please help
Cheers,
Joe
Gunter if you answer this... Thank you in advance and I owe you more beer. LOL

Hi Joe,
fortunately it´s not rocket science -- $_SERVER["REMOTE_ADDR"] is how PHP will retrieve the visitor´s IP address, and once you assign this variable to e.g. a custom Session Variable, it´s easy to store the corresponding value in a database table.
Cheers,
Günter

Similar Messages

  • Getting Server IP Address using HttpServletRequest object

    Hi
    I am writing code using servlets ,
    My system is on LAN let say its IP is suppose 192.0.0.1 and i have another computer name "A" on Lan with private ip 192.0.0.2 and also its has public IP 12.0.0.10 suppose.
    When i recive request from i try to get its public IP using methods
    request .getRemoteAddress(), but problem is i am getting its private IP i want to get its public Ip how i can get it

    Are you running dual network interfaces in each machine?
    If so, and the packet you're attempting to analyze for public IP address is being received over the local network, I don't think there's a way to accomplish this outside building a lookup table or some such manually.
    Or is there some sort of "fun" routing system in place here?
    ...or have I completely misunderstood the question? :)
    -Kyle

  • Getting wierd error when trying to getting phone IP address using AXL

    I am current trying to use the AXL serviceability API to get phone IP
    address information. I looked the developers guide and used the Java example to create a
    SSL Socket connection to send the SOAP message to. The message I send is as follows:
    POST: 8443/axl/ HTTP/1.0
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    Host:localhost:8443
    Authorization: Basic **************
    Content-type: text/xml
    SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice"
    Content-length: 610
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
    <SelectCmDevice sequence="123456">
    <CmSelectionCriteria>
    <Class>Phone</Class>
    <Model>255</Model>
    <NodeName>10.248.140.11></NodeName>
    <SelectBy>Name</SelectBy>
    <MaxReturnedDevices>10</MaxReturnedDevices>
    <SelectItems soapenc:arrayType="SelectItems[1]">
    <Item>SEP001E4A3FAAAA</Item>
    </SelectItems>
    </CmSelectionCriteria>
    </SelectCmDevice>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The response I get back after about 30 seconds is as follows:
    HTTP/1.1 400 Invalid URI
    Content-Length: 0
    Date: Wed, 12 Mar 2008 19:28:43 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    Could someone point me in the right direction as to what is going wrong?
    Thanks
    Mitch

    well, getting closer. Of course you were correct. After changing it, I now get an http 500 error after a lenghty timeout.
    POST /axl/ HTTP/1.0
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    Host:localhost:8443
    Authorization: Basic ***********
    Content-type: text/xml
    SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice"
    Content-length: 610
    <?xml version="1.0" encoding="utf-8"?>
    http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding">
    Phone
    255
    10.248.140.11>
    Name
    10
    SEP001E4A3FAAAA
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/html;charset=utf-8
    Content-Length: 4566
    Date: Thu, 13 Mar 2008 02:15:53 GMT
    Server: Apache-Coyote/1.1
    Connection: close

  • Can I get the IP address used by other devices for Sync?

    One of my devices was stolen. I wanted to know if I could find it by using information synced. I'm hoping there is some way to determine the IP address, and then to contact the owner of that IP block to see if they can help me further. Is this at all possible, and if so, what steps must I take? Thank you.

    [[Disable Firefox Sync on a lost phone or tablet|Disable Firefox Sync on a lost phone or tablet]]

  • Get Hardware (Mac) Address through Applescript

    Hi All,
    How can I get Hardware (Mac) Address using applescript. Please tell me how can I do it. I have searched in the dictionary but I found nothing there.
    Why I need it, I have developed some tool for InDesign & Quark User. I want to add the mentioned module in my application, so that as user will run the tool it will first validate the Hardware address, and if it match then application will run otherwise it will show a piracy message.
    Thanks
    Rajeev

    >get if addr en0 failed, (os/kern) failure
    Then you don't have an active interface. You can't use ipconfig to query an interface that isn't up.
    You need to decide how you want to deal with this - you won't know in advance what interfaces the user may have active. For this reason, relying on the MAC address is inherently problematic. You might be better off using the system's serial number (which is less likely to change anyway):
    <pre class=command>set serialNum to do shell script "system_profiler SPHardwareDataType| awk -F: '/Serial/ {print $2}'"</pre>

  • HT201248 My email address associated with my Apple ID on my iPad has been turned off from the ISp (U.S. army).   I have a new gmail account with a new Apple ID. How do I get my iPad to use my gmail account?

    Help. My old @us.army.mil email address was terminated by the army. I used that address to register my first apple id account on my iPad. I can't remember my original Apple ID number and if I ask to reset my password, Apple sends the reset link to my old non-working email address. I have a new gmail address and a new Apple ID number associated with that address. How do I get my iPad to use my new gmail address and new apple ID number?  Remember, I can't log out of my old account because I can't remember the password. Amd Apple will only reset the password by sending a link to my old, non functioning army email account. ( I hate army webmail for canceling all retired military email accounts). John Marc
    <Personal Information Edited By Host>

    Hi John,
    You can change the email address associated with an Apple ID using the steps in this article -
    Change your Apple ID - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    We are talking about the Mail app, right? In the Mail menubar, click on Window and then Previous Recipients:
    That eliminates the previous recipients. If you are talking about the suggestions because there are 10 people with the name 'Steve' in your Contacts, then I do not know how to eliminate those unless you change the name slightly or wait until you type the last name or some other differentiator.

  • I have an I pad2, an iMac desktop and an I phone 5, how do I get them all to be bale to face time with each other, do I need different email addresses, use the phone number, or the sim number in the iPad ? Ay help gratefully received !!

    I have an I pad2, an iMac desktop(2012) and an I phone 5, how do I get them all to be able to face time with each other, do I need different email addresses, use the phone number, or the sim number in the iPad ? Any help gratefully received !!

    Graham,
    For the iPad, iMac you need to create verifyible e-mail addresses created with one of the providers such as Yahoo, Gmail,etc.  For the iphone you should use it's phone number, but an e-mail could be used for it too.  If you want to associate these e-mail addresses with a single ID, I'm including a link to give you info about how you can do that. Read it carefully, as it can be a bit confusing.
    http://support.apple.com/kb/HE68

  • TS4147 How do I get iCloud & iPhone to use the contacts in address book on desktop?

    using Max OS X 10.6.8 with an iphone4 and it cannot seem to get my phone to use the contacts I have in my address book on the desktop.
    tried selecting "replace contacts" on the iphone for the alst update and even scrubbing the phone from start but still it wants to use my old contact list (same on iCloud)
    help please.

    Hey jel177!
    It seems like you may need to turn off your iTunes in the Cloud features and download or sync the songs manually to your phone. Here is a link that can help you adjust those settings:
    iTunes Match - iPhone
    http://help.apple.com/iphone/7/#/iph6e2dfb83
    Then, you can use this link to find your purchases and download them to your phone:
    Download past purchases
    http://support.apple.com/kb/ht2519
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • I bought 2nd hand iPhone and was linked with previous owner. I want to contact him but i didn't get any address of him. How can iget his/her email address using that iphone IMEI or you know any idea... Please reply if you know solution .....

    I bought 2nd hand iPhone and was linked with previous owner. I want to contact him but i didn't get any address of him. How can iget his/her email address using that iphone IMEI or you know any idea... Please reply if you know solution .....

    There is no solution here and you should already have known this as you replied to a thread all about this a few up from your own post and this stated the postition quite clearly and the question was answered.
    Why do you ask the same question again?  The first answer is not going to change just because you don't like it!!

  • HT5312 I no longer have access to the email address used as my Apple ID and when I choose to answer security questions, my DOB had to have been originally entered incorrectly because it keeps failing.  How do I get rid of my old Apple ID and create a new

    I no longer have access to the email address used as my Apple ID and when I choose to answer security questions, my DOB had to have been originally entered incorrectly because it keeps failing.  How do I get rid of my old Apple ID and create a new one?

    Contact Apple, either through the link in that article or by phoning them. Alternatively, just create a new Apple ID; previous iTunes Store purchases won't be transferred to it.
    (79271)

  • RVS4000 v2 when VLAN used Vista computers can't get a DHCP address.

    Just bought a RVS4000 v2. Firmware v2.0.0.0.3. All worked fine when using factory default settings. But I bought this because I wanted to implement VLANs. I defined VLAN2 for the VOIP phones connected through a switch to Port 1. I also defined VLAN3 for my accounts computers, whose switch connects to port 3. All VLANs are defined by Port, untagged.
    The phones, using Linux, pick up an IP address fine. So do the two remaining W2K systems. XP systems do but rather slowly. Vista though just hangs for a while, then uses an autoconfiguration address and won't connect unless I spoecify the IP settings. However if I connect the same Vista system to a port which uses the default LAN, it gets an IP address fine. I haven't tested Win7 yet.
    Why? Is this a bug in the firmware, or just a bug in Vista?

    May be a bug.  A Wireshark trace might be illuminating.

  • Isn't possible to get MAC address using java

    I am trying to get the MAC address of my pc using java code. It seems that i am only able to get the ip address. Can anyone help?

    Use JNI or Runtime.exec(). For the latter you would need to find an OS command line tool and then parse the output.

  • How to get location for an address using MKMapKit framework?

    Hi
    Can anybody help me, How can I get location/coordinate from address using MKMapKit framework?
    Thanks

    You have your answer iPhone warranty is NOT international it only covers
    the county of Purchase in your case the US
    You will have to take it back to an Apple Store in the US

  • Getting this message when trying to access our cameras, how to fix? This address is restricted This address uses a network port which is normally...

    Just installed Firefox for my boss, and ran into something I've not seen before. When trying to access our private camera system, that uses specific ports, I got this message: "This address is restricted - This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection."
    Cannot find a setting in Firefox to correct this problem. Please help.

    Hello,
    Can you please check if either of these links help in the resolution of the issue
    # [http://kb.mozillazine.org/Network.security.ports.banned.override Firefox ports override]
    #[http://blog.christoffer.me/post/2012-02-20-how-to-remove-firefoxs-this-address-is-restricted/ Remove Firefox this address is restricted error]
    Thank you

Maybe you are looking for

  • HP 8500 All in one printer, Error msg to change yellow/black cartridge

    Cartridge was changed but same error msg occurs. SN {Removed for privacy}  DATE:  12-5-08.  What can I check now that there is new ink cartridge properly installed.  We have turned off, left it set and triedturning on again.

  • Unable to obtain ip with wireless connection to Netgear WGR614 router

    Pardon my ignorance, I'm relatively new to the Mac world. I recently purchased an iMac and at the same time purchased a Netgear wireless router. When hardwired to the Netgear, I have no issues. I tried connecting via wireless, and keep getting the se

  • RenderPDFForm is generating big pdf files

    hi, In a workbench process Im generating a xdp file that I convert to a PDF file using the renderPDFForm component. This is working, however, the generated PDF document is not being compressed. In the renderPDFForm properties I can´t find any propert

  • Detecting when exception was thrown using custom class loader

    Hello all, I would like to implement the solution described here - http://stackoverflow.com/questions/75218/how-can-i-detect-when-an-exceptions-been-thrown-globally-in-java - that uses custom class loader in order to detect when an Exeption thrown so

  • Adding Keywords to Faces ?

    Hi: Is there a way that I can add a keyword to a group of pics that I have already confirmed? Let's say Faces recognizes 3500 pictures of Jessica. Is there a way that I can select all of this and add the the Keyword "Jessica"? Maybe an external plug-