Posted by fAnSKyer on 10/18/06 14:13
thanks a lot
it is because the permission for the tmp
Sorry for such a stupid question :)
Cheers
FanS.
Gale wrote:
> fAnSKyer wrote:
> > I am trying to make a new file using fopen, but I got a exception:
> > failed to open stream: Permission denied in tmp/ ..
> >
> > I am using linux and I've already chmod the php file to 777.
> >
> > I tried adding exec("touch afile") in my php program and the result is
> > there is no exception but no file come out.
> >
> > I am confused? how to control the permission in PHP?
> > Thanks a lot
> >
> > fAnS.
> >
>
> did you use chmod 777 on tmp dir by ftp or php ?
[Back to original message]
|