Posted by Lee C. Haas on 02/17/06 21:02
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.
Thanks for any advice.
Lee Haas, Raleigh, NC
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Email may be sent to me by using:
http://tinyurl.com/fylz
Navigation:
[Reply to this message]
|