# Using ignition's Webserver to host custom php web page

**URL:** <https://forum.inductiveautomation.com/t/using-ignitions-webserver-to-host-custom-php-web-page/15545>\
**Category:** Ignition\
**Created:** [October 3, 2017, 1:05pm UTC](https://forum.inductiveautomation.com/t/using-ignitions-webserver-to-host-custom-php-web-page/15545 "2017-10-03T13:05:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoisesZV](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@MoisesZV](https://forum.inductiveautomation.com/u/MoisesZV)\
**Post date:** [October 3, 2017, 1:05pm UTC](https://forum.inductiveautomation.com/t/using-ignitions-webserver-to-host-custom-php-web-page/15545/1 "2017-10-03T13:05:13Z")

</div>

it is possible to host a custom php web page in the Ignition’s web server? I put my php files on “C:\Program Files\Inductive Automation\Ignition\webserver\webapps\main” but it seems it only shows html pages.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 3, 2017, 1:11pm UTC](https://forum.inductiveautomation.com/t/using-ignitions-webserver-to-host-custom-php-web-page/15545/2 "2017-10-03T13:11:20Z")

</div>

No, that’s not supported.

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [October 3, 2017, 2:06pm UTC](https://forum.inductiveautomation.com/t/using-ignitions-webserver-to-host-custom-php-web-page/15545/3 "2017-10-03T14:06:40Z")

</div>

Instead of PHP, you have access to python scripting to build up your HTML dynamically if you use the WebDev module.

Python isn’t as template-based like PHP, but it still works quite well for string manipulation.

---

<div class="post-metadata">

**Author:** ![ptchanchal](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@ptchanchal](https://forum.inductiveautomation.com/u/ptchanchal)\
**Post date:** [February 10, 2020, 9:16pm UTC](https://forum.inductiveautomation.com/t/using-ignitions-webserver-to-host-custom-php-web-page/15545/4 "2020-02-10T21:16:14Z")

</div>

Can you please explain how to do that? i tried different ways to pull data from database to my html but none of them seems working.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 10, 2020, 9:27pm UTC](https://forum.inductiveautomation.com/t/using-ignitions-webserver-to-host-custom-php-web-page/15545/5 "2020-02-10T21:27:39Z")

</div>

Try the example code from [this page in the manual](https://docs.inductiveautomation.com/display/DOC79/system.dataset.dataSetToHTML) and instead of writing the `html` variable to disk, return it from the WebDev module’s doGet() function.
