I think you want
No, you can't go up two directories and back down, or you'd be able to go
down into other people's web-sites, and that would be bad. You can go up
only as far as your own site.
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Carsten Weber <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 11:11 AM
Subject: path error while calling files
> I am reading in text files in a php-script and am getting path errors.
> I have set the php-path in php.ini to
> /home/web/public_html/cgi-bin/chanet/ and am trying to call a file in
> /home/web/public_html/cgi-bin/chanet/daten/. I use the path
> ../../cgi-bin/chanet/daten/ to call the files (the reason for leaving
> the directory twice is that I have another place where my webpage is
> running with a different structure).
> I get the following error:
> Warning: Failed opening '../../cgi-bin/chanet/daten/menu.dat' for
> in /home/web/public_html/inhalt/chanet.php4 on line 80
> However, when I set the php-path just to /home/web/public_html/cgi-bin/
> and call the files with ../cgi-bin/chanet/daten/, it works.
> I have to test set all the rights in public_html to 777, so I don't
> think it's a rights problem.
> Am I not allowed to call up directories which require me to go up two
> Thanks for any help!
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]