Put a .htaccess file in your document root for your website with this line....

DirectoryIndex index.php

Alberto Brea wrote:
My ISP tells me that the home page must be index.html.
However, I cannot make PHP scripts run on this page, so I made an index.php page with the same content, and thought of redirecting the visitor as a solution.
What is the usual way everybody uses to run PHP on a home page with .html ending?
Thanks
Alberto

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

Reply via email to