RE: [PHP-DB] index.html or index.php
| From: | Shaun A Riches | Date: | Fri, 29 Sep 2006 06:22:23 +0000 |
| Subject: | RE: [PHP-DB] index.html or index.php | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42435@lists.php.net to get a copy of this message | ||
<?
echo "I am currently viewing " . $_SERVER["REQUEST_URI"];
?>
REQUEST_URI and a simple string manipulation will help you.
___________________
Shaun Riches
Computer Science Student
-----Original Message-----
From: Ron Piggott (PHP) [mailto:ron.php@actsministries.org]
Sent: Fri 29/09/2006 04:46
To: PHP DB
Subject: [PHP-DB] index.html or index.php
I have used both index.html and index.php in the various directories.
Is there a way to tell which was loaded if a user visited:
www.domain.com/directory/
?
Ron