[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: fopen i php



On Thu, 28 Oct 2004, [ISO-8859-1] Michael Bernhard Sørensen wrote:

> Kode:
>       if(!($fp=fopen("/dev/ttyS0", "A"))){
>        echo "Could not open /dev/ttyS0<br>";
>      }
>
> Fejl:
> *Warning*: fopen(/dev/ttyS0): failed to open stream: Resource
> temporarily unavailable in */var/www/banshee/BansheeOrder.php* on line *167*
> Could not open /dev/ttyS0

Hej
Kan det ikke være, at det "bare" er et rettighedsproblem?
Din webserver, der afvikler php-programmet er vel 'nobody'?
I min Linux (Slack 9.1) har 'nobody' i hvert fald ikke
rettigheder til ttyS0
crw-rw----    1 root uucp 4,  64 Jul 18 1994 /dev/ttyS0

 Virtually

 Niels Müller Larsen
 M. Sc. Networked Information Engineering
+-----------------------+---------------------+----------------------+
|Multimedia Department  |mailto: sslug@sslug  |Security with GnuPG:  |
|ERHVERVSAKADEMIET      |http://x15.dk        |keyID: 0xD4DB4A5E at  |
|Aarhus Business College|phone: +45 8936 3317 |http://www.pgp.net    |
|Sønderhøj 30, Viby J.  |cell:  +45 2040 5740 |                      |
|DK8260 DENMARK         |fax:   +45 8936 3399 |                      |
+-----------------------+---------------------+----------------------+

"Our vision is to speed up time, eventually eliminating it."
                -- Alex Schure


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *