Tarjei Huse wrote:
>
> Hi, I'm wondering if this is a general php problem og a midgard problem.
>
> I'm trying to access a file on my server, file.gif, in directory /dir/img/.
> The trouble is that I am only getting errormessages when I i try fopen. I
> only get errormessages like:
> Warning: fopen("/home/htdocs/mailkamp/img/too_many_users_01.jpg","r") - No
> such file or directory in content on line 53
We haven't changed the fopen source. If you put the same fopen in a
plain
PHP file, does it succeed?
> I've tried many different combinations of paths, but none seem to work.
> Could this be a midgard / php configuration issue?
>
> In phpinfo() the variables include_path and open_dir are not set.
I don't know so much about PHPs safe mode. But you could try to change
to
the user apache runs as (which would be 'nobody' for me) and try
ls -l /home/htdocs/mailkamp/img/too_many_users_01.jpg
It could just be that one of the directories leading to the file is
not available to the apache process.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]