Sailom wrote:

>   I am a novice on PHP and web programming.  Can any one suggest me if I can
> use index.php in place of index.html?  I really need to concern about

Sure you can!

If you're using an Apache webserver, create a file named .htaccess 
containing the following:

DirectoryIndex index.php index.html
Redirect index.html http://www.bar.net/index.php

The first line says "the directory index file is index.php, not 
index.html".  The second line says "whenever you get a request for 
index.html, send them index.php instead".

> security issue too.

Umm... *what*?



-- 
Mark Gallagher
http://cyberfuddle.com/infinitebabble/



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

Reply via email to