I have some PHP scripts that I need to include on some pages.
these are scripts to retrieve data from custom database, etc.
in these scripts, other scripts are called thru INCLUDE function of PHP.
for some reason WCMS does not show any scripts that contain "INCLUDE" statements. I have tried basic scripts without Include and these run fine.
these scripts run perfectly when called directly in any browser, I just can't get them ro run in WCMS
anyone know if/how to fix this?
I am running latest version of WCMS And PHP 4.3.0 on Linux FC3
question about {PHP:...} replacement tag
question about {PHP:...} replacement tag
The manual said to install Windows 2000 platform or better. So I installed Linux..
-
jscholtysik
Hi hagem,
on my site I included a php script this way:
[PHP]include("http://www.scholtysik.net/user_online/online.php");[/PHP]
It works very well!!
Try it!
Joachim
on my site I included a php script this way:
[PHP]include("http://www.scholtysik.net/user_online/online.php");[/PHP]
It works very well!!
Try it!
Joachim
nope, doesn't work
the problem is that in the PHP program i'm referencing contains several re-usable php components (ADODB libraries)
the {PHP:prog.php} replacement tag works perfectly when "prog.php" doesn't contain any include statements.
as soon as there is a "include("/path/otherphp.php") statement in prog.php, the whole thing doesn't work anymore (blank browser screen -> no output from PHP)
this is a real problem for me. it used to work perfectly in previous versions of the wcms.
the problem is that in the PHP program i'm referencing contains several re-usable php components (ADODB libraries)
the {PHP:prog.php} replacement tag works perfectly when "prog.php" doesn't contain any include statements.
as soon as there is a "include("/path/otherphp.php") statement in prog.php, the whole thing doesn't work anymore (blank browser screen -> no output from PHP)
this is a real problem for me. it used to work perfectly in previous versions of the wcms.
The manual said to install Windows 2000 platform or better. So I installed Linux..
-
Pappnase