You are here: Re: where can ini_set('include_path','.:..'); see? « All PHP « IT news, forums, messages
Re: where can ini_set('include_path','.:..'); see?

Posted by Paul on 04/02/07 19:38

I add this to the botoom of relative.path.php:
echo "######## $relativePath ########";


I add the following to /site/HTML/Quickform/elements.php:
require_once('relative.path.php');
echo ini_get('include_path');
echo "rel path: ".$relativePath;
exit;

and it displays:
######## ../ ########
..;C:\site\inc
Notice: Undefined variable: relativePath in
C:\site\HTML\QuickForm\element.php on line 4
rel path:

So, it IS accessing the relative.path.php file, but not executing it. If I
add the code into that file, it works fine. The file relative.path.php is
in c:\site\inc directory.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация