<?php
session_start();
?>
<head>
<script type="text/javascript">
function asd(){
    document.write(document.cookie);
}
</script>
</head>
<body onload="asd()">
derp
</body>
