Hi all,
I have a text file with few IP ranges in the following format:
1.52.0.0 - 1.55.255.255
What I hope I can do is to loop through the file content and retrieve the start IP / end IP (each in a variable) so that I can work on each of them. So for example for the line above I wish to get (1.52.0.0) in a var and (1.55.255.255) in another var while looping the file content
So I was wondering if I can get any help on how to do this using PHP?
Please excuse me if this seem to be very easy question but I am quite new to php, so any code help will be highly appreciate
Thanks for your time
Mark