Question: I'm currently in the process of setting my website, largely with php. Though this is my first time using it so I'm running into some problems.

I've got the basics of the site down. Registering, login-in, profile page e.t.c. However this is where I seem to have to make a decision about the site layout.

For instance. Currently a user's profile page has the URL of 

> 
> mysite.com/profile.php
> 
> 
> 

Ideally what I would like is for it to be is something along the lines of 

> 
> mysite.com/user/ChrisSalij
> 
> 
> 

From reading [this](https://stackoverflow.com/questions/115629/simplest-php-routing-framework) among other things I believe I need a Front Controller style site, though I'm not sure of this, nor where to start with implementing one.

Bearing in mind that I'm pretty new to php and the like, I would appreciate any helpful comments, and links, and constructive critiques. 

I'm defiantly will to learn so links to articles and explanations would be excellent. I usually do a fair amount of research on stuff like this. But I'm so new to it that I don't know where to start.

EDIT: I should also add that I'm planning on scaling this website up to the large scale. It's small to start with but there should be quite a few pages if my goals work out. So I'm willing to put the effort in now to get it set up right for the long term.
Thanks

Answer: 
I don't know how much knowledge of PHP you have in general. What I can definitely recommend you is downloading and reading the book PHP 5 Power Programming. You can download it for free [here](http://www.informit.com/store/product.aspx?isbn=013147149X). It takes a lot of time to read it but it will definitely help you a lot. (You can just read selective chapters too.)

Another thing I can recommend you is to read the [Quick Start Guide](http://framework.zend.com/docs/quickstart) from the Zend Framework.(The framework itself is probably too much for you.) But in this guide especially the links to all the external sites are very good. You can learn a lot of theory from it.

And what all the others said: Learn from all the established frameworks.
You should look in to something like the Zend Framework, which provides this functionality for you out of the box.

They have an excellent guide which will get you going in no time.

<http://framework.zend.com/docs/quickstart>