On Mon, 2011-10-10 at 22:15 +0100, Tim Streater wrote:

> On 10 Oct 2011 at 19:30, Ashley Sheridan <a...@ashleysheridan.co.uk> wrote: 
> 
> > Jim Giner <jim.gi...@albanyhandball.com> wrote:
> >
> >>
> >> ""QI.VOLMAR QI"" <qi.vol...@gmail.com> wrote in message
> >> news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
> >>> 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


Reply via email to