Page 1 of 1

parsing output of passthru -

Posted: Fri Nov 03, 2006 2:44 pm
by kingconnections
I am trying to figure out how to parse the info from a passthru command. I tried nl2br comand and no dice?

Code: Select all

passthru('nslookup http://www.google.com');

Posted: Fri Nov 03, 2006 2:58 pm
by kingconnections
nevermind, just used exec and put each line in an array.