Re: PHP module for modem???
| From: | Scott Fletcher | Date: | Tue, 18 Dec 2001 17:06:34 +0000 |
| Subject: | Re: PHP module for modem??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78085@lists.php.net to get a copy of this message | ||
What application would I need to use this. In this case, no appication.
Just writting the PHP code on the webpage that would work with the modem and
stuffs like that.
Scott
"Nathan Cassano" <nathan@cjhunter.com> wrote in message
news:778f01c187e3$b84b8ed0$2925ae3f@amos...
>
> There aren't any modem modules that I am aware of but if you are using
> UNIX you can just open the modem device and talk to it directly. What is
> your application that would need to use a modem?
>
> <?
> /* Something like this */
> $fp = fopen("/dev/modem", "rw");
> fwrite($fp, "ATA");
> echo fgets($fp, 128)
> fclose($fp);
> ?>
>
> -----Original Message-----
> From: Scott Fletcher [mailto:scott@abcoa.com]
> Sent: Tuesday, December 18, 2001 8:11 AM
> To: php-general@lists.php.net
> Subject: [PHP] PHP module for modem???
>
>
> Hi!
>
> Is there any module or software that I can use and compile it with
> PHP for working with hte modem???
> For example, I have cURL but it is a seperate software and can be
> compile with PHP for certain things like FTP, Internet socket, etc. So,
> is there ever one for the modem?
>
> Thanks,
> Scott
>