How to echo tha path of the file in form
===

    <html>
    <head>
    <title>Main Page</title>
    </head>
    <body>
    <h2>Main Page</h2>
    <form  method="post" enctype="multipart/form-data">
    <input type="file" name="filename">
    <input type="submit" value="Upload file">
    <br>
    <?php
    echo $filename;
    ?>
    </body>
    </html>

Please can anybody write what is the problem,i'm not receiving the path of the file.