You would need to set the file permission to the file itself, "COM1".
That would be the common errors.

Scott
<[EMAIL PROTECTED]> wrote in message
9c3q7s$lu3$[EMAIL PROTECTED]">news:9c3q7s$lu3$[EMAIL PROTECTED]...
> 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
>
>
> <[EMAIL PROTECTED]> wrote in message
> 9c3l86$lev$[EMAIL PROTECTED]">news:9c3l86$lev$[EMAIL PROTECTED]...
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> 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]
>



-- 
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