Hello.
I know i can add placeholders that can include html code, i can also add html code to the header tags and body html, but i have been looking at how to protect some pages by using a script to handle giving members access to set pages.

in order to do this i need as the reply below shows to be able to add some code before any other code .

i know using an html editor i can do this but is it possible to add this code by using xara?

Kind Regards
Carl

Hi Carl,

Basically to secure a page you need to add this code (or similar) to the very top of the page before DOCTYPE or <html>

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