Re: About fopen() for write and PHP settings
| From: | papirakl at otenet dot gr | Date: | Mon, 14 Jul 2003 12:05:08 +0000 |
| Subject: | Re: About fopen() for write and PHP settings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155074@lists.php.net to get a copy of this message | ||
Marek Kilimajer <kilimajer@webglobe.sk> said:
>
> George Papatheodorou wrote:
>
> > First of all I apology for my poor use of English of my newbish(?)
> > questions because I didn't find any solutions the first time I e-
mailed
> > this list. What my problem is:
> > I am on a server that has these configurations like these:
> > http://kainga.quasarnet.org/php.php . Let's say my
> > username is
user1 and
> > server files' owner is httpd.
> Later you say server admin has to change the file owner, so are the
> server files realy owned by httpd?
>
>
> > (I even changed the file's permissions to rwx-rwx-rwx
> > and it still wouldn't let the script write to it)?
> This should help. Exactly what error do you get?
>
> >
>
>
It won't display the excat error but from the logs it says those:
fopen(*things here*), permission denied in line *number* in
*script* , as the admin told me.
And when the admin changed the file's owner from user1 to httpd, the
script would work without problem.
--