Re: PHP accessing the COM port?
| From: | elias | Date: | Tue, 24 Apr 2001 23:44:01 +0000 |
| Subject: | Re: PHP accessing the COM port? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50065@lists.php.net to get a copy of this message | ||
> Warning: fopen("COM1:","r+") - Permission denied in c:\web\test.php on
line
why 'COM1:' and not 'COM1' ?
-elias
http://eassoft.cjb.net
<sean@networkdata.co.uk> wrote in message
news:9c3q7s$lu3$1@toye.p.sourceforge.net...
> Hi all, me again.
>
> I tried accessing the com port using fopen and was denied access... does
> anyin have any other ideas? I would really like to do this in php rather
> than VB.
>
> here is what I got...
>
> Warning: fopen("COM1:","r+") - Permission denied in c:\web\test.php on
line
> 6
> Warning: Supplied argument is not a valid File-Handle resource in
> c:\web\test.php on line 15
>
>
> <sean@networkdata.co.uk> wrote in message
> news:9c3l86$lev$1@toye.p.sourceforge.net...
> > Hi,
> >
> > I was wondering if anyone knew if I could acces the com port via PHP and
> > work with AT commands?
> >
> > Someone has suggested something that MIGHT work - using fopen(com1...
> sorry
> > I dont know the correct syntax but as soon as I have managed to install
> php
> > I will give it a try.. in the meantime I would be grateful if you would
> let
> > me know if you think this will work..
> > many thanks
> >
> > Sean
> >
> >
> >
> > --
> > 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
> >
>
>
>
> --
> 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
>