I am trying to use the session start function but everytime I try to use it, it gives 2 errors:
Cannot send session cookie - headers already sent by (output started at /var/www/form/send.php:11) in /var/www/form/send.php on line 12
Cannot send session cache limiter - headers already sent (output started at /var/www/form/send.php:11) in /var/www/form/send.php on line 12
What could be the problem(s)?
Details:
I am running apache2 on Ubuntu and using the netbeans IDE for the programming and testing.
However, when I uploaded it to my website it still gives the same errors(just different pathnames).