Jump to content

How put Raw php in pages?


ipbfuck

Recommended Posts

Hi!

Atm i've used iframe for long php script in pages, but this isn't ever the best solution (eg: https://laltroweb.it/webmster-tool/thumb-your-pages/ ).

My request is: how i can write raw (real) php code directly inside ip.pages?

I've try with "insert" and work fine (i can insert a script with php code), but can cause issue if this script has a form.

-

Write php directly inside pages can be the best solution in some circumstances.

Someone can try to explain how i can this?

<?php *code ?> not work.

Nothing (only simple code) not work... :/

 

Thanks in advance,

S.N.

Link to comment
Share on other sites

23 minutes ago, laltroweb.it said:

I've try with "insert" and work fine (i can insert a script with php code), but can cause issue if this script has a form.

Can you clarify what problems you have with forms and inserts you wouldn’t have if the code was directly in the page?

 

23 minutes ago, laltroweb.it said:

<?php *code ?> not work.

I don’t think you can do that. The template parser can’t deal with that. However, you can put your PHP code in a block (where PHP is an option) and then embed that block in any page. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...