Note: I working this in a Local network only
I'm using a Jio Internet for the scenario. So I have a IPV6 public IP. I can see the Public ipv6 IP is visible on CMD "ipconfig" or "ipconfig /all"
Under "Wireless LAN adapter Wi-Fi:" I can see two fields as below: IPV6 Address, Temporary IPV6 Address
I get the Temporary IPV6 Address when I search "myip" on Google or on "whatismyipadddress"
Now, How do I extract that data(ie, Temporary IPV6 Address) from Shell and print using PHP ?
Note: I'll be working this such that getting information mentioned above using PHP when I click a Button on a webpage. I should be retrieving this information of a client who is accessing my server and, I will be creating logs with some more datas in my project.