Possible Duplicate:
PHP error: Cannot modify header information – headers already sent
I have built a website with lots of functions supported by programming. As the website is growing bigger, I found when doing photo upload, login, the following errors appear:-
Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /var/www/web92/web/li/sli.php on line 63
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web92/web/index826.php:62) in /var/www/web92/web/li/sli.php on line 72
I found adding ob_start();
at the very beginning of index can solve the problem, however, I would like to learn, if the running of php codes may have length limit.