php script plugin

  • carlo corucci
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 6 months ago #70142 by carlo corucci
php script plugin was created by carlo corucci
I try to insert php code in plans PHP Script Settings

i try to insert error also

but the code not running

Can help me with some suggestion ??

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #70150 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic php script plugin
Could you please paste the code you want to run into a text file and upload it here so that I can check it ?

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • carlo corucci
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 6 months ago - 8 years 6 months ago #70155 by carlo corucci
Replied by carlo corucci on topic php script plugin
Hi Tuan,
I've try to insert simple echo and exit and don't make anythink with and without <?php

Now i've made a plugin and after activation works also php script plugin's

My web server utilize OPCache, perhaps is this the problem with code in db???


Carlo
Last edit: 8 years 6 months ago by carlo corucci.

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #70190 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic php script plugin
Hi Carlo

1. The PHP code need to write without <?php

2. As the plugin use eval method to run the code, if your server has that method disabled, the code won't be run. Maybe that's the reason why the doesn't work on your case?

Tuan

Please Log in or Create an account to join the conversation.