The header should come first in the response from a web server and is separated from the body by one blank line. The reason this error occurs is that some part of the body of the web page has been sent to the user already when a request is made to set a header value. Because PHP simplifies many things for you, the problem may be hiding in plain site. Here are some guidelines for finding the problem:
1) Find the header() statement that is causing the problem. The error must be at or before this line.
2) Look for any statements that could send output to the user before this header statement. If you find one or more, find some way to move the header statement before them. Complex conditional statements may complicate the issue, but they may also help solve the problem. Consider a conditional expression at the top of the PHP script that determines the header value as early as possible and sets it there.
3) Make sure there is no white space outside of the php start and end tags. While a blank line before the
;
Subscribe to:
Post Comments (Atom)
Pages
Blog Archive
-
▼
2010
(29)
-
▼
May
(23)
- Lighttpd Installation
- FAST CGI Support
- TileCache Installation
- Mounting Linux partitions
- Postgres Update Memory
- PostgreSQL on Ubuntu
- PostGIS on Ubuntu
- Rownum in 8.3 PostgreSQL
- General keyboard shortcuts
- PostGIS Functions
- PostGres 'select clause' parameter list parameter.
- Suppress php warnings
- Adding 900913 projection to “spatial_ref_sys” tabl...
- Network Set up
- Install fgs5.4.2 on ubuntu 64 bit
- PostGIS Aggregate Functions
- PostGIS SQL-MM Compliant Functions
- PostGIS Functions that support 3D
- PostGIS Curved Geometry Support Functions
- New PostGIS Functions
- Prevent Response Caching in AJAX
- Cannot modify header information – headers already...
- FGS Installation
-
▼
May
(23)
About Me
- Rahul Gajanan Teni
- - A competent M.S. Software Engineer and B.E. (Comp) with 6 years of rich experience in Java/ C / C++ / Oracle/PHP/Postgresql/Mysql in IT industry.
- Resourceful in developing Applications with various platforms and different domains.
A strategic planner with expertise in designing internal control systems towards the accomplishment of corporate business goals.
- A keen analyst with exceptional relationship management skills and abilities in liaising with different clients.
- Team player with excellent analytical and communications skills.
Worked with development projects with software brands like Cognizant and Infosys
Specialties
- Master in struts
- Good hands on in core Java
- Understanding of other building blocks of Enterprise applications like middle ware technologies.
- Knowledge of database like Oracle,postgresql,mysql
No comments:
Post a Comment