Re: failed to open stream warning

From: Date: Thu, 05 Jan 2006 00:56:47 +0000
Subject: Re: failed to open stream warning
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-228183@lists.php.net to get a copy of this message
I just corrected the code...I had it correct but posted it in correctly. $fp = fopen("home/path/temp" "w+"); puts($fp, $msg); fclose($fp); Still getting the same warning... Thanks ""zedleon"" <support@passeycorp.com> wrote in message news:5D.8D.34518.B686CB34@pb1.pair.com... > Has anybody had any experience in resolving this kind of issue? > > Warning: fopen(home/path/temp") failed to open stream: No such file or > directory > I am trying to write a script to work with GnuPG, but can't get past this > basic problem. > Everything I try gives me the same warning. > > Here is the code: > > $fp = fopen("home/path/temp "w+"); > puts($fp, $msg); > fclose($fp); > > any suggestion would be appreciated, > > Thanks > > zed

« previous php.general (#228183) next »