You'd be hard pressed to find any difference in how the server reacts to either. You'll generally have better luck in some search engines if you use example 2. But onless you've got some strange reason hording all of your code in one file, I can't imagine any reason why example 1 would be of any use / advantage.
On Sat, 21 Sep 2002 22:08:42 +0000, Matt Zur wrote: > Here is the site and the file names: > Test Site: > - index.php > - about.php > - services.php > > Which example would cause more stress on the server and/or what are the > advantages, disadvantages to each example? > > Example 1 > -index.php with these links: > <a href="index.php">Home</a> > <a href="index.php?view=about">Home</a> > <a href="index.php?view=services">Home</a> > > With the index.php using a switch statment for the view var and file > includes. > > OR > > Example 2 > -index.php with these links: > <a href="index.php">Home</a> > <a href="about.php">Home</a> > <a href="services.php">Home</a> > > Any help will be appreciated. > > -Matt -- Jason Morehouse (jm[@]netconcepts[.]com) Netconcepts - http://www.netconcepts.com Auckland, New Zealand Linux: Because rebooting is for adding hardware. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php