RE: [PHP] php, snmp, and mibs

2001-05-08 Thread Jack Dempsey
Mike, I haven't worked with MIB files myself, but what you're describing sounds like it could be solved with regex's...can you post a snippet of what file looks like that you're trying to extract from? -jack -Original Message- From: Mike Backes [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: [PHP] php, snmp, and mibs

2001-05-08 Thread ..s.c.o.t.t.. [gts]
as someone else suggested... a regexp is probably the thing you want. since i have no idea what the format of a MIB is, i cannot give you any example. but to find dotted num's, use something akin to this: preg_match_all('/(\d+)(?=\.?)/', $MIB, $matches); -Original Message- From: