question about String

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all
i have this file
----
ip.txt
[------------------------------------------------------------]
Windows IP Configuration


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.1.68
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.254

[------------------------------------------------------------]

i want to extract the IP address 192.168.1.68 from this file ...
how can i ?
this is the first time i deal with file ( reading and writing ) in php .
i hope u can help me..
thanks 
-- 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux