Active
Project:
CCK IP Address
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
30 Sep 2007 at 07:03 UTC
Updated:
31 Oct 2011 at 17:18 UTC
Is it possible to fill this field with the current IP address?
Comments
Comment #1
firebus commentedmaaaayyyyybeee.
it would be pretty easy to grab the IP address from the environment variables.
i worry that the kind of user who would benefit from this feature is also the kind of person who doesn't know enough about networking to understand that they may be behind a NAT router, or they may have a dynamic IP address.
can you tell me more about the use case you are imagining?
thanks!
Comment #2
Marat commentedHi firebus,
Thank you for your replay. I am just wondering how to do that. I just added a new content type with several fields, one of them is IP address of the user. So, I know from where this node where was posted.
I tried to involve a PHP code for the default value of IP address field ... but it did not work with me!
Any more help will be much appreciated.
Comment #3
firebus commentedComment #4
firebus commentedComment #5
firebus commented