The only reason why you'd be getting those session and header error 
messages is if you output some html (even a few blank lines) on your PHP 
page before the cookie functions are called.

It looks like you have a wrapper PHP page called 'styl.php', in which 
you reference an include 'lgn3.php', where you set some header stuff. 
This is probably not working becuse 'styl.php' is setting some 
stylesheets, or outputting some html before it references 'lgn3.php'. 
If that is the case, it just wont work.

I'd consider pulling out all your header/session/cookie crap out of 
'lgn3.php', and into a seperate page, and then including it at the 
ABSOLUTE top of 'styl.php'.

Check out the documentation on the 'header' function for more info...

-- 

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to