Re: Re: [PHP] Re: Oi , Portas/ Hello, Ports
| From: | Tim Streater | Date: | Mon, 10 Oct 2011 21:15:00 +0000 |
| Subject: | Re: Re: [PHP] Re: Oi , Portas/ Hello, Ports | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315217@lists.php.net to get a copy of this message | ||
On 10 Oct 2011 at 19:30, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
> Jim Giner <jim.giner@albanyhandball.com> wrote:
>
>>
>> ""QI.VOLMAR QI"" <qi.volmar@gmail.com> wrote in message
>>
>> news:CAB7L6ey9RKFWTMPRPE0fk3DOO5s1c5jyhpNBT5rJj0F_eB5_KA@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