{PHP: foo.php} I am too stupid ?
Posted: Tue 16. Mar 2004, 14:13
{PHP: foo.php} works
{PHP: test/php} doesn't work
What´s wrong?
Ciao
Tom
{PHP: test/php} doesn't work
What´s wrong?
Ciao
Tom
The phpwcms support forum will help to find answers to your questions. The small but strong community is here since more than 10 years.
https://forum.phpwcms.org/
If you mean:eflexer wrote:{PHP: foo.php} works
{PHP: test/php} doesn't work
What´s wrong?
Ciao
Tom
Code: Select all
{PHP: test/foo.php}
example: {PHP:phpwcms/test/foo.php}$phpwcms["root"]/test/foo.php
Code: Select all
{PHP: sub/test/index.php}
Code: Select all
Warning: include_ext_php( sub/test/index.php): failed to open stream: No such file or directory in C:\Inetpub\wwwroot\sub\include\inc_front\front.func.inc.php on line 955
Code: Select all
{PHP: ../../test/index.php}
and the error-message is
Code:
Warning: include_ext_php( sub/test/index.php): failed to open stream: No such file or directory in C:\Inetpub\wwwroot\sub\include\inc_front\front.func.inc.php on line 955
Code: Select all
{PHP:../../include/inc_ext/apps/intern/index.php}
Code: Select all
{PHP: ../../include/inc_ext/apps/intern/index.php}
Code: Select all
{PHP:/sub/test/index.php}
Code: Select all
define("BASE", "path-to-root-project-directory");
Code: Select all
include "library.php" becomes:
include BASE."library.php"
This isn't "actually" quite true. If your file to "insert" is in:eflexer wrote:Only thisdoesn´t work, because it is rather a php include problem.Code: Select all
{PHP:/sub/test/index.php}
~and phpWCMS's file named "phpwcms.php" is in:C:/Inetpub/wwwroot/sub/test/index.php"
then I "believe" you should enter:C:/Inetpub/wwwroot/sub/phpwcms.php"
Code: Select all
{PHP:sub/test/index.php}
Code: Select all
{PHP:../test/index.php}