Re: Really strange

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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:
> "Warning: main(../config.inc): failed to open stream: No such file or
> directory in /var/www/html/classes/dBInsert.php on line 10
> 
> Warning: main(): Failed opening '../config.inc' for inclusion
> (include_path='.:/usr/share/pear') in /var/www/html/classes/dBInsert.php
> on line 10"
> 
> I'm boggled!
> 
> Any help would be appreciated.
> 
> Best Regards,
> Deckard
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
if you are using IIS read this:
http://support.microsoft.com/kb/332117/EN-US/


-- 
View this message in context: http://www.nabble.com/Really--strange-tf2385857.html#a6682604
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux