How can I make warning: messages not display on the page? for eg. how do i take this away: Warning: Cannot send session cookie - headers already sent by (output started at /home/kuantum/index.php:2) in /home/kuantum/phpSP/checklogin.php on line 68
@ at the start of the function will normally suppress the warning, however good programming logic should mean that you aviod these warnings.
You can turn on and off specific message types with the error_reporting function. Check it out in the manual.