dereksheahan
asked on
Determining user IP address and using it
Hi All,
I wonder is it possible to determine the user's IP address and use it to make the default value for a drop-down menu approiate to it. For example, if the users IP address indicates that the user is from greater London, then have the "Greater London" appear as the default value in the drop-down menu. Is this a very complicated procedure??
Thanks,
Derek
I wonder is it possible to determine the user's IP address and use it to make the default value for a drop-down menu approiate to it. For example, if the users IP address indicates that the user is from greater London, then have the "Greater London" appear as the default value in the drop-down menu. Is this a very complicated procedure??
Thanks,
Derek
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
btw it's free =)
Also you can use that csv with this code
http://www.php.net/source.php?url=/include/ip-to-country.inc
instead of doing a mysql database
http://www.php.net/source.php?url=/include/ip-to-country.inc
instead of doing a mysql database
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys,
Yeah I wanted it to change as for where the user was in Ireland. I.e. for each county have it change dynamically. Thats okay, think I'll leave it out of the project and might consider doing it somewhere down the line.
Cheers,
Derek
Yeah I wanted it to change as for where the user was in Ireland. I.e. for each county have it change dynamically. Thats okay, think I'll leave it out of the project and might consider doing it somewhere down the line.
Cheers,
Derek
Hi Derek,
Thanks for the points :-)
tigermatt
Thanks for the points :-)
tigermatt