On Mon, 2011-10-10 at 22:15 +0100, Tim Streater wrote: > On 10 Oct 2011 at 19:30, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> wrote: > > > Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx> wrote: > > > >> > >> ""QI.VOLMAR QI"" <qi.volmar@xxxxxxxxx> wrote in message > >> news:CAB7L6ey9RKFWTMPRPE0fk3DOO5s1c5jyhpNBT5rJj0F_eB5_KA@xxxxxxxxxxxxxx... > >>> Alguem sabe se, e como eu posso trabalhar com as portas do computador > >> com > >>> php no windows? > >>> > >>> Do someone know if, and how, I could work with Computer logical ports > >> with > >>> PHP on Windows? > >>> > >>> ex: shell_exec('cat /dev/usbmon0 | hexdump'); <- Linux > >>> > >> > >> If you mean "use php to interrogate a port" I would think the answer is > >> No. > >> Computer port=client; PHP=server. > > > You can if the port is a server port, i.e. you're creating a daemon.. But, if > > it is the client machine you wish to inspect, then as Jim mentioned, PHP is > > not for you and something like java may be better suited, although I'm not > > sure how much power an applet has in this area. > > Nothing wrong with using PHP client-side, I run plenty of PHP scripts that way. > > -- > Cheers -- Tim > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Yes, but it's then behaving as a daemon. What you can't do is have the script running on a client as if it were a plugin on a website which is what I thought Jim was getting at. -- Thanks, Ash http://www.ashleysheridan.co.uk