Posted by Peter van Schie on 11/03/06 22:59
Jim Carlock schreef:
> "Peter van Schie" :vanschie.peter at gmail.com: asked:
> : I'm trying to create a named pipe to communicate with another
> : application from a PHP application. The thing is that I cannot use any
> : of the posix functions on Windows, including posix_mkfifo.
> : Is there any other way to create a named pipe and if so.... how?
> : Thanks in advance.
>
> I haven't messed with this but perhaps it's of some help. The VB
> declarations to the API are as follows:
[snip]
> Perhaps someone here can provide an example of how to set up
> such API calls inside of PHP and provide an example in this case?
Hi Jim and Rich,
Thank you both for your replies. I actually tried using Jim's approach
by using the W32api extension
(http://nl2.php.net/manual/en/ref.w32api.php). However it turned out
that the extension has been removed from the PECL repository.
I just tried Rich's suggestion, using popen() and that actually works.
So thanks a lot I got it working now. :)
Regards,
Peter.
--
http://www.phpforums.nl
[Back to original message]
|