[PHP/HTML] index.html over index.php
How do I make the 'index.html' overtake the 'index.php' file?
I need to do this because, I need a homepage for my website, and the 'index.php' is a script that also need in the same directory.
So when someone types in 'www.example.com', I want it to show 'www.example.com/index.html', rather than 'www.example.com/index.php'.
Thanks
Re: [PHP/HTML] index.html over index.php
PHP Code:
header('location: index.html');
Re: [PHP/HTML] index.html over index.php
Or just rename index.php...