| | |
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 |
.htaccess ajax apache api array beginner binary broken buttons cakephp checkbox class cms code cron curl database date directory display download dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail mediawiki menu mlm mod_rewrite multiple mysql number oop paypal pdf php phpincludeissue phpmyadmin problem query radio random recursion regex remote script search server sessions sms soap source sp space speed sql subdomain syntax system table tag tutorial update upload url validation validator variable vbulletin video web websphere white xml youtube





