Mailinglisten-Archive |
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C0951B.0C223D40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Hallo Liste!
Habe da ein Problem! Ich entwickle unter Windows (jajaja) und habe die
WIMP-Installation gewählt. Habe jetzt mehrere Projekte und möchte meine
config.inc.php3 in ein anderes Verzeichnis auslagern, z.B. in das
Verzeichnis /includes !
Der require-Befehl funktioniert aber nur, wenn ich die Datei im gleichen
Verzeichnis habe wie das gesamte Projekt
<? php require("config.inc.php3") ?>
Sobald ich dann aber mit absoluten oder relativen Pfadangaben arbeiten
möchte tut sich nichts mehr!
<? php require("/includes/config.inc.php3") ?>
<? php require("../../config.inc.php3") ?>
und folgende Fehlermeldung erscheint
Fatal error: Failed opening required '/includes/config.inc.php3'
(include_path='')
Danke Jürgen
hauck_(at)_tisam.de
------=_NextPart_000_0008_01C0951B.0C223D40
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2>Hallo=20
Liste!</FONT></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2>Habe =
da ein Problem!=20
Ich entwickle unter Windows (jajaja) und habe die WIMP-Installation =
gew=E4hlt.=20
Habe jetzt mehrere Projekte und m=F6chte meine config.inc.php3 in =
ein anderes=20
Verzeichnis auslagern, z.B. in das Verzeichnis /includes =
!</FONT></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2>Der =
require-Befehl=20
funktioniert aber nur, wenn ich die Datei im gleichen Verzeichnis habe =
wie das=20
gesamte Projekt</FONT></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2><? =
php=20
require("config.inc.php3") ?></FONT></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2>Sobald =
ich dann aber=20
mit absoluten oder relativen Pfadangaben arbeiten m=F6chte tut sich =
nichts=20
mehr!</FONT></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2><SPAN=20
class=3D264303216-12022001><FONT face=3DArial size=3D2><? php=20
require("/includes/config.inc.php3") =
?></FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2><SPAN=20
class=3D264303216-12022001><SPAN class=3D264303216-12022001><FONT =
face=3DArial=20
size=3D2><? php require("../../config.inc.php3")=20
?></FONT></SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2><SPAN=20
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2><SPAN=20
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2><SPAN=20
class=3D264303216-12022001><SPAN class=3D264303216-12022001>und folgende =
Fehlermeldung erscheint</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><FONT face=3DArial size=3D2><SPAN=20
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><STRONG>Fatal error</STRONG>: Failed opening =
required=20
'/includes/config.inc.php3' (include_path=3D'') =
</SPAN></SPAN></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><FONT face=3DArial size=3D2>Danke=20
J=FCrgen</FONT></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><FONT face=3DArial size=3D2><A=20
href=3D"mailto:hauck_(at)_tisam.de">hauck_(at)_tisam.de</A></FONT></SPAN></SPAN></S=
PAN></DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001><FONT face=3DArial=20
size=3D2></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN class=3D264303216-12022001><SPAN =
class=3D264303216-12022001><SPAN=20
class=3D264303216-12022001></SPAN></SPAN></SPAN> </DIV></BODY></HTML=
>
------=_NextPart_000_0008_01C0951B.0C223D40--
php::bar PHP Wiki - Listenarchive