# Website infrastructure

**URL:** https://forum.kirupa.com/t/website-infrastructure/141345
**Category:** Uncategorized
**Created:** [March 19, 2005, 1:57am UTC](https://forum.kirupa.com/t/website-infrastructure/141345 "2005-03-19T01:57:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Eikern](https://avatars.discourse-cdn.com/v4/letter/e/90db22/32.png) [@Eikern](https://forum.kirupa.com/u/Eikern)
#### Post date: [March 19, 2005, 1:57am UTC](https://forum.kirupa.com/t/website-infrastructure/141345/1 "2005-03-19T01:57:08Z")

</div>

Hi there.

I’ve tried building a page using php and mysql and I must say it’s working very good. But I’m going to start on a new one, and I just wonder how you guys build your sites.  
When I built my site - I had three files. Index.php, mysql.php and actions.php. Index.php contained all the pages separated with if’s - mysql.php contained a couple of functions that returned if the user could log in and so on - actions.php was the file that wrote the information to the database.

And I, an unexperienced php-scripter, just want to know how you guys build your sites - or if you have any tips for me how I can make things.  
I want another way of storing the different pages on my site - should I just make page2.php and include this in index.php where my menus are?

Hope you could give me some ideas 🙂
