Re: [PHP] Really strange

2006-10-06 Thread J?rgen Wind
Deckard wrote: Hi, I have this line of code: include_once('../config.inc.php'); I'm 100% sure that the file config.inc.php is a directory up. config.inc.php is in /var/www/html and the file that calls it is in /var/www/html/classes nevertheless, i'm getting the error:

Re: [PHP] Really strange

2006-10-06 Thread J?rgen Wind
if you are using IIS read this: http://support.microsoft.com/kb/332117/EN-US/ sorry , i overlooked '/var/www/html' maybe the info is useful for someone else. -- View this message in context: http://www.nabble.com/Really--strange-tf2385857.html#a6682765 Sent from the PHP - General mailing

Re: [PHP] Really strange

2006-10-06 Thread Richard Lynch
On Fri, October 6, 2006 11:26 am, J?rgen Wind wrote: if you are using IIS read this: http://support.microsoft.com/kb/332117/EN-US/ Only MS would re-title confusing erroneous non-specific error messages as FRIENDLY! :-v -- Some people have a gift link here. Know what I want? I want you to buy

Re: [PHP] Really strange

2006-10-05 Thread Richard Lynch
On Wed, October 4, 2006 7:32 pm, Deckard wrote: I have this line of code: include_once('../config.inc.php'); DON'T DO THAT! Sooner or later, you're gonna need to move/copy this file somewhere else, and ../ ain't gonna be right. Warning: main(): Failed opening '../config.inc' for inclusion

[PHP] Really strange

2006-10-04 Thread Deckard
Hi, I have this line of code: include_once('../config.inc.php'); I'm 100% sure that the file config.inc.php is a directory up. config.inc.php is in /var/www/html and the file that calls it is in /var/www/html/classes nevertheless, i'm getting the error: Warning: main(../config.inc): failed to