On 7/12/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
Hi.

This may or may not be a PHP question - I'll let the group decide.
Note this URL:

http://www.someplace.com/SomeDirectory/SomeFile

compared to this URL:

http://www.someplace.com/SomeDirectory/SomeFile.php

Okay. How does one create the URL with no file extension? Is this
done through PHP or is this a server setting? Thanks in advance!

~Philip

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



   That would be done via either a server setting (such as Apache's
mod_rewrite) or having multiple directories to act as a file, with an
index.php or other default file in there.  So that if you called:

       http://www.somplace.com/somePath/

                   - OR -
       http://www.somplace.com/somePath/hawaii.php
   (with an .htaccess file holding:
       DirectoryIndex hawaii.php
   }



--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

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

Reply via email to