Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get dynamic IP address #17

Closed
rws-timo opened this issue Mar 8, 2016 · 1 comment
Closed

Get dynamic IP address #17

rws-timo opened this issue Mar 8, 2016 · 1 comment

Comments

@rws-timo
Copy link

rws-timo commented Mar 8, 2016

Hi,

this tool is working fine but I would like to get the "COMPUTER_LOCAL_IP" via dynamic resolution instead of using a fixed list. Would it be possible to get the dynamic ip address by using "gethostbyname" inside the index.php? As I am not into php, I would be glad if someone could help me with this one.

Best regards,
Timo

@sciguy14
Copy link
Owner

sciguy14 commented May 1, 2016

Hi Timo - in my experience, this doesn't work reliably, base on different network topologies. That's why I recommend setting a reserved DHCP address and using that. It's the only thing that works reliably across different network configs.

@sciguy14 sciguy14 closed this as completed May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants