In a webpage browser, what syntax will I use to automatically open or display a php file using the index.html?


I programmed a php file but I need to be be opened or to be displayed automatically without copying the content of the php to the index.html….

What syntax will I insert to the index.html because most index.html upn opening a browser to that directory it automatically read the index.html not the desired file.php.

Doing this is just simple. Create you PHP page and set it ready so that the setup could be cooked anytime you want. So be ready with your home page now. Then note down the link to the PHP page. Then copy the following code into your index.html file.
Then code is here:
<script type="text/javascript">
onload=window.location("Your PHP page URL here");
</script>

Done!
So the code is ready!

Contact me for details:
praveen.supergenius@gmail.com

Praveen Varghese

Technorati Tags: , , , , , , , , , , , , ,