RE: [PHP] PHP module for modem???
| From: | Nathan Cassano | Date: | Tue, 18 Dec 2001 16:47:45 +0000 |
| Subject: | RE: [PHP] PHP module for modem??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78079@lists.php.net to get a copy of this message | ||
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