Page 1 of 1 1
Topic Options
#81610 - 2003-05-12 06:07 AM Exec() or Pipe()
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4549
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
#81611 - 2003-05-12 06:27 AM Re: Exec() or Pipe()
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yep...
been asked for about zillion times [Big Grin]

that's why there are these:
Pipe() - by shawn
Pipe2() - by AJH
WSHPipe() - by chris S.

and even KiXforms is going to provide something similar.
although, these are not the same as kix having them inbuild, these are ok (not good [Wink] ) substitutes.
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 370 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.082 seconds in which 0.041 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org