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 17:46

| Steve:
|
| Can I just put 'relative.path.php' in php.ini for the auto_prepend_file?
| That would save a lot of time.

i don't see why not other than you may not have access to the php.ini file
on every system/host...whereas you usually do have access to the inc
directory. it's not a bad idea though.

you may also want to think about chaning the $relativePath variable to a
$_SERVER variable. not a big deal either, but it makes it seem more of an
application/server product rather than some abstract variable that comes
from apparently nowhere (from other developer's perspectives who may later
work on the code as well).

 

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

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