|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
First of all thanks ben for this code. But I have followed it very carefullt to section 3 and all is working well with the database storing information etc, but I am getting these error messages below can you Ben or anyone else here help me.. PLEASE.
Thanks in advance. Jimmy Scotland Page: class.security.php line of code: session_start(); error: Warning: Cannot send session cookie - headers already sent by error: Warning: Cannot send session cache limiter - headers already sent Page: index.php line of code: header("location:login.php?strMethod=checklogin"); error: Warning: Cannot add header information - headers already sent by |
|
#2
|
|||
|
|||
|
Where are the other 5 articles ? Ben showed only part 1/6 ?
|
|
#3
|
||||
|
||||
|
Quote:
They are listed in the articles section.. you may have to scroll for them.. |
|
#4
|
||||
|
||||
|
Re: Headers --- Arghh
Quote:
Jimmy: Put ob_start(); at the very beginning of your index.php, just after the <?php IE: PHP Code:
and put ob_flush(); at the end of your page.. also, check and see if you are creating any other html before you start your php code, that can cause it too |
|
#5
|
|||
|
|||
|
And what does this actually do.
I have had some problems [Warning:] setting a cookie until I add these functions. PHP Code:
|
|
#6
|
||||
|
||||
|
Quote:
basically ob_start stores the output information, ob_flush then sends it to the browser.. |
|
#7
|
|||
|
|||
|
ohh I see now, thanks for that,
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Headers --- Arghh |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|