#81610 - 2003-05-12 06:07 AM
Exec() or Pipe()
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4557
Loc: USA
|
Lonkero's post about Dynu.com's objects led me to a very nice object - DynuExec which works very much like the Pipe() UDFs. I think this type of function would be a nice addition to a future version.
Here's a sample of the DynuExec Object:
$exec=Createobject("Dynu.Exec") $ipconfig=$exec.execute("ipconfig") $ipinfo=split($ipconfig,chr(10)) for each $line in $ipinfo $data=split($line,":") if left(ltrim($data[0]),10)="IP Address" ? $data[1] endif next
|
Top
|
|
|
|
Moderator: Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 323 anonymous users online.
|
|
|