hello frnd plz help me out ..i created this php form as index.php
// $password=$_POST['userpass'];
// setcookie('clientpass','$userpass');
// $u=$_POST['username'];
// echo $u;
<form method="post" action="cookie.php">
<label for="name">Name</label>
<input id="name" type="text" name="username">
<label for="pass">Pass</label>
<input id="pass" type="password" name="userpass">
<input type="submit" name="submit" value="submit">

and another page for displaying the username throw cookie page cookie.php

echo $_COOKIE['clientname'];


And the problem is that i am nt getting anything . A blank page pops-up not able to solve y its happening plz help me out where i am mistaking