How to read each line from a file in PHP but retain the extra spaces?
my file is like below, but I want to maintain the spaces when using fgets, how to do that?
Are there any other function that can maintain the spaces?
I mean all the spaces MUST BE maintained.....NOT JUST ONE SPACE, I need ALL spaces
show cdp neigh
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
ABE0D0444C2T Gig 0/2 177 S WS-C2950T-Gig 0/1
ABE0C0506C37 Gig 0/1 147 R S WS-C3750G-Gig 1/0/24