Changeset 929 for trunk/Modules/NetworkShare/online.php
- Timestamp:
- May 11, 2022, 12:14:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkShare/online.php
r873 r929 7 7 echo('Nacitam strom sdileni...'); 8 8 $Output = array(); 9 exec('smbtree -N -S',$Output,$Return); 10 //print_r($Output); 9 exec('smbtree -N -S',$Output,$Return); 11 10 //echo($Return."\n"); 12 11 echo("OK\n\nSeznam online pocitacu:\n"); … … 59 58 } else $Section = 2; 60 59 } else $Section = 1; 61 } else $Section = 0; 62 //print_r($Output); 60 } else $Section = 0; 63 61 $Output = explode(' ',$Output[1]); 64 62 $MAC = substr($Output[4],1,-1); … … 71 69 // Deaktivuj predchozi online pocitace 72 70 $Database->update('hosts', 1, array('online' => 0)); 73 74 //print_r($Online); 71 75 72 // Aktivuj online pocitace 76 73 foreach ($Online as $Item) … … 88 85 { 89 86 echo($Row['name'].", "); 90 } 91 //print_r($Output); 87 } 92 88 // sleep(1000); 93 89 //echo("\nCekam minutu...");
Note:
See TracChangeset
for help on using the changeset viewer.