Page 1 of 1

[PHP] Tag in 1.2.8.... am I stupid ?

Posted: Tue 15. Aug 2006, 09:01
by juergen
Hello,

just playing around with the 1.2.8, lets say . I love it :)

I have:

Code: Select all

$phpwcms["allow_ext_init"]    = 1;  //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"]  = 1;  //allow including of custom external scripts at frontend rendering
I tried to recalculate a webcam image (=dynamic) with the [PHP] - Tag

What I get is the code, no running of the script.

Next: Stupid test.... [PHP] echo "Hello stupid"; [/PHP] --> output : echo "Hello stupid";

The site comes from 1.2.6

I choose this way cause server has ftps only and testing from backend phpwcms is so much easier.

:?:

Jürgen

Posted: Tue 15. Aug 2006, 09:53
by pepe
Hast du das mal aktiviert?

$phpwcms["allow_cntPHP_rt"] = 1; //allow PHP replacement tags and includes in content parts

Posted: Tue 15. Aug 2006, 11:26
by juergen
*an Stirnklatsch* :oops:

Posted: Tue 15. Aug 2006, 11:29
by flip-flop
Ja, ja, in der 1.2.8 funktioniert der Schalter.
He he.

Knut :D