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 Steve on 04/02/07 18:58

| <?
| echo '<pre>' . $relativePath . '</pre>';
| ?>
|
| does it produce the correct path for that directory to your root?

and that's only IF you get relative.path.php to work as an
auto_prepend_file. otherwise, do as i have suggested and just plop the
script in php's include path. in that case, your debugging script would look
like:

<?
require_once 'relative.path.php';
echo '<pre>' . $relativePath . '</pre>';
?>

 

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

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