Different markup for index.php
| From: | Stewart Lord | Date: | Wed, 05 Jan 2011 04:15:13 +0000 |
| Subject: | Different markup for index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10209@lists.php.net to get a copy of this message | ||
Hi Hannes,
I want the ability to produce different markup for the beta home page. I don't want to modify
the markup for the current stable home page or risk messing it up. Do you have any suggestions on
how I should do this?
One idea I had was to copy index.php to index-stable.php, add a index-beta.php and then make
index.php include the appropriate one based on the result of myphpnet_beta().
Thoughts?
Stew