[!--quoteo(post=377765:date=May 28 2006, 02:20 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ May 28 2006, 02:20 AM) [snapback]377765[/snapback][/div][div class=\'quotemain\'][!--quotec--] Where are you defining $page? Chances are your new server has register_globals off (as it should)...... Just a guess, but try this... [code] if($_GET['page'] == "") { include("main.php"); } else{ include($_[GET['page'].".php"); } ?> [/code] PS: Your code is also VERY insecure. You should check for the existence of these files before including them. As it is, anyone could quite easily hack your site. [/quote] Thank you SO much! The coding wasn't working but my friend help me mess with it and fix it so it'll work! I appreciate it so much!!! This error was making me so upset, lol. I feel better now. Also, with this new coding, is my site a bit more secure or what? Thanks!