Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / General / Cotonti Connect?

to use cotonti outside of xtemplate

zboy812
#29873 2011-06-20 17:17

I want to use a PHP page outside of Cotonti. But i want to get user details from cotonti!

here is my page.php:

<html>

<? include 'cotonti_connect.php'; //is it possible? ?>

<? echo '$user_name'; ?>

</html>

Is this possible? How can i keep the user logged in on my external page?

The reason is, i want to use sed_light for website, but i dont want to use xtemplate for external program.

Thank you for your assitance!!!