Page 1 of 1

Help with inserting PHP please...

Posted: Wed Jan 06, 2010 3:32 am
by twb716
I would like to insert the following php code to a page via WebYep and TinyMCE:

<?php
$groupswithaccess="CLIENT";
require_once("../slpw/sitelokpw.php");
?>


Does anyone know how I can do this? Thanks.

TB

Re: Help with inserting PHP please...

Posted: Mon Jan 11, 2010 11:32 am
by johannes
You cannot add PHP code via WebYep.

PHP code in executed on the server. In the case of WebYep it is WebYep's PHP code that is executed on the server. All content generated by WebYep is just transferred to the client (the browser) and executed there.

So you can add JavaScript code but not PHP code.