1
myrth
"Add a new block"??????
  • 2004/5/30 17:40

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


i've been trying to create a new block for a few days now. regardless of what i try my php code will not execute...even when content type is set to "php".

can anyone help? is php code even allowed in this block?

thanks in advance.

-myrth

2
Stewdio
Re: "Add a new block"??????
  • 2004/5/30 18:23

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Have you tried auto detect (smilies disabled) ?

Could you copy your code here for others to try. I rarely run into problems with this.

3
myrth
Re: "Add a new block"??????
  • 2004/5/30 18:43

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


i have tried every foratting option.

here's the code...

<?php phpinfo(); ?>

if i press the "preview" button i will always see the output from this call in every formatting option EXCEPT the "php" option. it's very disturbing.

-myrth

4
Mithrandir
Re: "Add a new block"??????

have you tried setting it to php-type and just writing
phpinfo();
in the block content? I don't think you need the <?php ?> tags

5
myrth
Re: "Add a new block"??????
  • 2004/5/30 18:57

  • myrth

  • Just popping in

  • Posts: 6

  • Since: 2004/5/30


geez! of course, that works. *sigh* here's what you get for looking at php reference books all day! *laugh*

thank you for the help. :)

-eric


Login

Who's Online

157 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits