![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| php errors when i test my php login script it works but i get this warning "Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mikejkel/public_html/login_success.php:2) in /home/mikejkel/public_html/login_success.php on line 3" hears the code PHP Code: i think it is somthing to do with php session any help would be good thanks mike Last edited by mikejkellyuk : 01-16-2008 at 12:35 PM. |
| |
| |||
| Whenever you see this error "headers already sent" it means that something was already sent to the browser. This has to be your absolutely first line "session_start();" to kick off the process of session-saving/retrieving... if you put anything before it, sessions wont work and this error will be thrown. __________________ Day Cares | Golf Courses | Disc Golf Courses | Campgrounds | Ice Rinks | Paintball Fields | Dentists | Plastic Surgeons | Aging Jokes Catholic Churches | Lutheran Churches | Methodist Churches | Episcopal Churches | Clean Jokes |
| The Following 2 Users Say Thank You to ccoonen For This Useful Post: | ||
HelloWorld (01-17-2008), mikejkellyuk (01-18-2008) | ||
| The Following 2 Users Say Thank You to TeraTask For This Useful Post: | ||
HelloWorld (01-17-2008), mikejkellyuk (01-18-2008) | ||
![]() |
| Thread Tools | |
| Display Modes | |
| |