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

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

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

Post 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
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hast du das mal aktiviert?

$phpwcms["allow_cntPHP_rt"] = 1; //allow PHP replacement tags and includes in content parts
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

*an Stirnklatsch* :oops:
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Ja, ja, in der 1.2.8 funktioniert der Schalter.
He he.

Knut :D
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Locked