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

lol. i was just looking on the net to see if there were any unknows (to me)
that would cause auto prepend file not to work. it doesn't seem like it but,
i came across this link:

http://www.webmasterworld.com/forum88/421.htm

notice the example is trying to accomplish the same thing we are? it's
funny! you can also see they explode to find out the number of directories
where i use str_replace. i assume that if he were going to finish the code,
it would involve, you guessed it, str_repeat - his would be
str_repeat('../', count($hisExplosion).

i don't know why, after so many years of development going into php, why
there is NOT a $_SERVER variable for the current path, even if it is a
relative one.

 

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

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