Hello,
Can anyone point me in the direction of a tutorial on URL encoding? I am creating a website and i want to use 1 page which contains the layout, then seperate pages with the content. i would do it something similar to this:

Then that would just call up a .inc page specified in the page= variable and display it on index.php.

I am learning php through the internet instead of books, and i already have basic knowledge of how to create stuff, and the syntax i am farmiliar with. So if someone could link me to a page to learn about URL encoding, i would greatly appreciate it.

one thing i always say about include files, if you name them with a .inc extension, be sure that your web server is set up to parst .inc files as php. it really won't matter for the include() statements, as the original file is already being parsed, but if someone finds out the name of your include file, links.inc and enteres that into their browser, it'll be sent to them plain text and they'll be able to see your code. another option is to just name your include files with a .php extension. i use "inc_database.php". a last option would be to place your include files outside of your web directory, that way, even if someone finds out the name of your file, it can't be pulled up in a browser becuase it's not in the web directory.

Thanks John. I appreciate your input, but I had unfortunetly figured out url encoding before you replied. What i did was create a php3 file called show.php3 and just had it redirect to the new page depending on the ID. I decided not to do the include thing, because it would mess over my hit counter i made if each page was all on the index.php3 page =]