Help with inserting PHP please...

General discussions about WebYep
Post Reply
twb716
Rank 1
Rank 1
Posts: 34
Joined: Tue Jun 30, 2009 3:04 pm

Help with inserting PHP please...

Post by twb716 » Wed Jan 06, 2010 3:32 am

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

johannes
Objective Development
Objective Development
Posts: 815
Joined: Fri Nov 10, 2006 4:39 pm
Contact:

Re: Help with inserting PHP please...

Post by johannes » Mon Jan 11, 2010 11:32 am

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.

Post Reply