phpbar.de logo

Mailinglisten-Archive

[php] phplib und Includes

[php] phplib und Includes

Mark Kronsbein mk_(at)_html-design.com
Wed, 13 Oct 1999 5:31:20 EDT


"Alexander Meis" schrieb am Wed, 13 Oct 1999 10:26:53 +0200:
> Ich hab festgestellt das ich sobald ich bei include_path in der php3.ini
> die php lib angebe /www/phplib/php auf ALLEN seiten das normale Include

Klar, weil du deinen Include-Path überschrieben hast, tippe ich mal.
So klappts bei mir (geht auch in einer .htaccess in dem Verzeichnis, wo du 

die PHPLib nutzt):
php3_include_path .:/www/dein/inc-verzeichnis:/www/phplib/php

Somit hast du beide Verzeichnisse als Include-Verzeichnis definiert.

> Kann ich irgentwie in der PHP datei selber den include path setzen ?

Du könntest alle Includes so reinholen:
include("/pfad/include.php3");

HTH

Mark





---------------------------------------------------------
This message sent using EMUmail -- http://www.emumail.com
---------------------------------------------------------

Attention PDA Users: Get your existing email from your Palm VII
with HoboMail.com.  You're free to roam with HoboMail.

http://www.hobomail.com




php::bar PHP Wiki   -   Listenarchive