RE: [PHP-WIN] Making a service with php

2003-08-14 Thread Svensson, B.A.T. (HKG)
7 PM > To: Svensson, B.A.T. (HKG) > Subject: Re: [PHP-WIN] Making a service with php > > > No. It doesn't run on a web, it runs via commandline. The server script have > to execute logical operations. > > - Original Message - > From: "Svensson, B.A.T. (HKG

RE: [PHP-WIN] Making a service with php

2003-08-14 Thread Svensson, B.A.T. (HKG)
> I would like to know if it's possible to have a PHP script that listens on a > specific port for incoming requests. If so, how would one go about doing > that? > > If not, what language would be good to make that in on windows plateform? Would configure an apache server to listen on your desir

Re: [PHP-WIN] Making a service with php

2003-08-14 Thread Luis Moreira
What version of PHP do you use ? On PHP-4.1.0 there is an EXPERIMENTAL set of functions (so they say) - socket_create, socket_bind, socket_listen, socket_accept - that combined should do your trick... Luis - Original Message - From: "John Yu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

Re: [PHP-WIN] Making a service with php

2003-08-10 Thread John Yu
4.3.2 Those functions aren't available on 4.3.2? - Original Message - From: "Luis Moreira" <[EMAIL PROTECTED]> To: "John Yu" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 10:20 AM Subject: Re: [PHP-WIN] Making a serv

Re: [PHP-WIN] Making a service with php

2003-08-06 Thread John Yu
Actually I've found a good class to use for this. http://www.php-tools.de The patServer is very useful. It has class already setup to handle a multi-thread server. Although, I wouldn't mind some help with the client though. For example. Client ===> (request) ===> Server Client <=== (response)

Re: [PHP-WIN] Making a service with php

2003-08-06 Thread Luis Moreira
August 06, 2003 4:04 PM Subject: Re: [PHP-WIN] Making a service with php > 4.3.2 Those functions aren't available on 4.3.2? > - Original Message - > From: "Luis Moreira" <[EMAIL PROTECTED]> > To: "John Yu" <[EMAIL PROTECTED]> > Cc: <[E