wahsaga: Include Problem

Beitrag lesen

hi,

schau dir mal die php.ini an, bzw das $_ENV bzw $_SERVER superglobal.
da sollte es DOCUMENT_ROOT geben. dein aufruf sollte also:
include($_SERVER["DOCUMENT_ROOT"]."/included/test.html"); lauten.

wenn man damit weniger aufwand haben möchte, könnte man ja auch mal include_path "richtig" konfigurieren.

gruß,
wahsaga

--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."