Reply to Re: named pipes on Windows

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация