[vox-tech] PHP fopen() bug

Dave Peticolas dave at krondo.com
Sun Mar 20 16:31:13 PST 2005


On Sun, 2005-03-20 at 16:27 -0800, Rod Roark wrote:
> On Sunday 20 March 2005 02:22 pm, Dave Peticolas wrote:
> > Could it be that the php process has read permission
> > to /tmp but not write permission? I think that would
> > produce the behavior in question.
> 
> No.  To repeat myself:
> 
> On Sunday 20 March 2005 07:28 am, Rod Roark wrote:
> > What DOES work is:
> > 
> >   touch('/tmp/test');
> >   $fh = fopen('/tmp/test', 'w');

Ah, right. For some reason I thought you were touching
the file outside of php. *shrug* Strange behavior.

dave




More information about the vox-tech mailing list