Re: PHP accessing the COM port?
| From: | sean at networkdata dot co dot uk | Date: | Tue, 24 Apr 2001 18:47:49 +0000 |
| Subject: | Re: PHP accessing the COM port? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50145@lists.php.net to get a copy of this message | ||
please tell me how to set a file permission on com1 on windows98!
thanks,
sean
""Scott Fletcher"" <scott@abcoa.com> wrote in message
news:9c3urk$k0$1@toye.p.sourceforge.net...
> You would need to set the file permission to the file itself, "COM1".
> That would be the common errors.
>
> Scott
> <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
> >
>
>
>
> --
> 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
>