more stress on server...
| From: | Matt Zur | Date: | Sun, 22 Sep 2002 02:08:42 +0000 |
| Subject: | more stress on server... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-117135@lists.php.net to get a copy of this message | ||
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
--
Matt Zur
mattz@zurnet.com
http://www.zurnet.com
Need a Web Site??? - Visit... www.zurnet.com
1997 - 2002 - 5th Anniversary!!!