Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get server ip php

$exec = 'ipconfig | findstr /R /C:"IPv4.*"';
exec($exec, $output);
preg_match('/d+.d+.d+.d+/', $output[0], $matches);
print_r($matches[0]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #server #ip #php
ADD COMMENT
Topic
Name
9+1 =