echo "I am currently viewing " . $_SERVER["REQUEST_URI"];
REQUEST_URI and a simple string manipulation will help you.
Computer Science Student
From: Ron Piggott (PHP) [mailto:[EMAIL PROTECTED]]
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:
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php