Reply to htaccess and include_path

Your name:

Reply:


Posted by webguynow on 09/25/00 11:33

I recently read a forum posting on codewalkers.com regarding PEAR on a
shared host and the poster, mentioned 3 methods to assign an
include_path using htaccess.
( Only the 2nd I'm familiar with - so the 1st and 3rd could use some
explaining )

you can use .htaccess files to overwrite php's include_path for your
site.


Or at the beginning of each script that uses pear you can ini_set() a
new include path that includes pear.


or combine the approach and use .htaccess to define an auto_prepend
which is a .php file that ini_sets() your pear path.

[Back to original 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

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