Re: PHP module for modem???

From: Date: Tue, 18 Dec 2001 17:02:00 +0000
Subject: Re: PHP module for modem???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78081@lists.php.net to get a copy of this message
This would require that your httpd user (nobody? depends on your setup) has read/write access to said device (which is normally not the case). In such a case you would need to filter it through sudo or some such. chuck ----- Original Message ----- From: "Nathan Cassano" <nathan@cjhunter.com> To: <php-general@lists.php.net> Sent: Tuesday, December 18, 2001 5:47 PM Subject: RE: [PHP] PHP module for modem??? > > 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#78081) next »