Hi!
Here's a little of the code (sorry, i'm new to php!):
unset($stuff);
exec("arp -a $REMOTE_ADDR",$stuff);
for ($i = "0"; $i <= count($stuff); $i++){echo "<p>Element: $stuff[$i]";}
This seems to create an array element ($stuff[]) out of each line of the output of "arp -a $REMOTE_ADDR". I can echo each element to a page just fine, but my goal is to be able to echo ONLY the MAC address, rather than the entire line. Any ideas on how I might do this?
Thanks for your help!
Mack