PHP Redirect

I need a script named index.php . when i goto that page it redirects to html/index.php

can someone please tell me the code required

Give this a try:

<?php
header("Location: html/index.php");
echo " "; // NN4 requires that we output something...
exit();
?>

or this, for a timed redirection:

<?php
header("Refresh: 3; URL=/html/index.php");
echo " "; // NN4 requires that we output something...
exit();
?>

(y) works , thanks