Hi to all,
How to fetch local lan ip address in php..?
How to capture local lan ip in php
Moderators: egami, macek, gesf
- sandeep605085
- New php-forum User
- Posts: 44
- Joined: Tue Feb 26, 2013 6:00 am
- Location: Mindfire Solutions
- Contact:
Hi,
Check this
<?php
$localLanIp = gethostbyname(trim(`hostname`));
?>
Thanks,
Sandeep Agrawal
Mindfire Solutions.
Check this
<?php
$localLanIp = gethostbyname(trim(`hostname`));
?>
Thanks,
Sandeep Agrawal
Mindfire Solutions.