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

November 5th, 2009 | by admin |

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: , , , , , , , , , , , , ,

Tags: directory, File Php, Html Browser, html code, Html Syntax, Index Php, Lt, Php File, Php Index, Script Type, Text Javascript, Upn, Url, Webpage Browser

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

  1. By Praveen V on Nov 5, 2009

    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
    References :

Post a Comment