RE: index.html or index.php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: index.html or index.php

<?
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@xxxxxxxxxxxxxxxxxx]
Sent: Fri 29/09/2006 04:46
To: PHP DB
Subject: 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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux