add.php <?php session_start(); $sid = substr(md5(time()), 0, 6); $_SESSION["blsid"] = $sid; ?> update.php <?php session_start(); $sid = $_SESSION["blsid"]; ?>