| | |
manish
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2005
Posts: 18
Reputation:
Solved Threads: 2
Anytime you use session_start();, you have to be sure it is called before any output is sent to the browser. (echo, print) or any white space will cause PHP to flush it's self, which will cause an error if your trying to use session_start(); after the flush.
You have (2) options...
1. make sure your not sending any output before the session call
OR
2. Use the ob_ functions to hold your output until you call the session_start();
me!
You have (2) options...
1. make sure your not sending any output before the session call
OR
2. Use the ob_ functions to hold your output until you call the session_start();
me!
![]() |
Similar Threads
- New line Character in column alias (MS SQL)
- Tell us about yourself! (Community Introductions)
- hi (Community Introductions)
- Query (MS SQL)
- help with datagrid in vb.net (Visual Basic 4 / 5 / 6)
- Forum lurkers, introduce yourself ... !! (Community Introductions)
Other Threads in the PHP Forum
- Previous Thread: PHP e-mail SMTP error ???
- Next Thread: Cookies
| Thread Tools | Search this Thread |
ajax apache api array basics beginner binary broken cakephp checkbox class cms code codingproblem combobox cron curl database date display domain dynamic echo email error file files folder form format forms function functions google href htaccess html image include insert interactive ip java javascript joomla js limit link load login mail malfunctioning menu mlm mobile multiple mysql nodes oop outofmemmory paging parse paypal pdf php problem procedure query radio ram random recursion reference remote return script search server sessions sms source space sql syntax system table tutorial unset up-to-date update upload url validation validator variable video web webapplications websitecontactform youtube





