Ben Stones wrote: > I'm using cookies for my website script and upon users logging in a > cookie is set. Problem for me is that the cookie doesn't work due to > headers already sent. Is there anyway of fixing this because, there is > no possible way of adding setcookie() to the top of the PHP file when > the cookie is holding the username from the POSTed form. This must be a self imposed restriction on your side, coz' otherwise I see no problem. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php