On 01/17, S Bey rearranged the electrons to read:
> Just a small (and hopefully easy) question.
> 
> Is there a PHP equivalent of index.html? I want to be able to go straight
> to a PHP script without the user specifying the filename.

It's up to the server to decide what it will look for instead of
index.html, but the equivilent would be index.php, index.php3, or
index.phtml, depending on the version of PHP you have installed.  (The
first-listed is PHP4, followed by 3, then 2.x)  If you're using Apache
as your web server, look for a line in your httpd.conf (or apache.conf)
that looks like this:

DirectoryIndex index.html

Modify it to look like this:

DirectoryIndex index.html index.php index.shtml index.php3 index.phtml index.htm

(if you want to be extremely thorough)

If you're using another web server, sorry, I can't help.  :)

- Jamie

--
Call me insane one more time and I'll eat your other eye
<[EMAIL PROTECTED]>  (Single purpose Email address)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to