# Advanced template and php

**URL:** <https://forums.realmacsoftware.com/t/advanced-template-and-php/44250>\
**Category:** RapidWeaver Elements\
**Created:** [August 13, 2024, 4:01pm UTC](https://forums.realmacsoftware.com/t/advanced-template-and-php/44250 "2024-08-13T16:01:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_Heron](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/andy_heron/32/11159_2.png) [@Andy\_Heron](https://forums.realmacsoftware.com/u/Andy_Heron)\
**Post date:** [August 13, 2024, 4:01pm UTC](https://forums.realmacsoftware.com/t/advanced-template-and-php/44250/1 "2024-08-13T16:01:14Z")

</div>

Will I be able to add php code using the advanced template?

I use php to access calendar information, etc.

Will I be able to use a relative link to access securely my php connections scripts?

Thanks  
Andy

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 13, 2024, 4:04pm UTC](https://forums.realmacsoftware.com/t/advanced-template-and-php/44250/2 "2024-08-13T16:04:35Z")

</div>

Yes! You can place PHP code anywhere inside the site template, page code areas, and even in Custom Components 👍
