Posted by Julien CROUZET on 02/17/06 21:27
Dans son message précédent, Lee C. Haas a écrit :
> I have created the file lhcount.data with the content the number 1 in
> it.
> This file is in the same directory (public_html) as the following
> index.php file that contains the following code:
>
> <?php
> echo("count");
> $fh = fopen('lhcount.data','r+');
>
> result is:
> count
> Warning: fopen(lhcount.data): failed to open stream: Permission denied
> in /home/abc/public_html/index.php
>
> The permissions are:
> public_html directory rwxrwx- - -
> lhcount.data rwxrwxr- -
> index.php rw-r- -r- -
>
> phpadmin() shows the following:
> safe_mode is off
> open_basedir has no value set
>
> I'm at a loss. I have used this with success at another web host.
>
Please copy/paste the output of this piece of code :
<?
echo 'Id: ' . getmyuid() . '<br />';
echo 'Gid: ' . getmygid() . '<br />';
echo '<br />';
echo nl2br(print_r(stat('index.php'), true));
?>
--
Julien CROUZET - DSI Theoconcept
julien.crouzet@/enlever ca\theoconcept.com
http://www.theoconcept.com
[Back to original message]
|