Try this..
<?

$fp = fopen("/dev/modem", "w+");
fputs($fp, "ATA\n");
echo fgets($fp, 1024);
fclose($fp);

?>

-----Original Message-----
From: Scott Fletcher [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 24, 2001 9:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Modem communcation using PHP


Hi ya all!

    I can't find the PHP documentation on using the php code to
initalize,
configure, dail, send and receive data using the modem.   Anyone know
anything about it.  I'm kind of stuck on this project.  Will appreciate
it on anyone who can point it out for me.

Thanks,
 Scott



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to