Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8883283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:46:36+00:00 2026-06-14T20:46:36+00:00

I wrote a PHP program, I use session_start() and header() functions, I know I

  • 0

I wrote a PHP program,
I use session_start() and header() functions, I know I should use this functions before I sending anything to client. it’s ok, but for test I send a test message to client with echo "test"; before using header(), but I didn’t get any error and header function work without any problem !

In previous versions of PHP at this time I will got a message like :

Warning: Cannot modify header information - headers already sent by (output started at /some/file.php:22) in /some/file.php on line 60

I wan’t to know why I didn’t get any error message ?!

My php version is 5.3.1 and error_reporting is on E_ALL

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T20:46:38+00:00Added an answer on June 14, 2026 at 8:46 pm

    I found the problem,
    I don’t use any FrameWork.

    the problem was error_reporting('E_ALL');

    I wrote this code on first of my program, and so PHP didn’t return any errors !
    I deleted this line and I get the errors !

    This is kidding because this line said to PHP to show ALL errors !
    I don’t know why PHP don’t show any errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote a PHP CUrl Class, if i execute Methods which should return the
I wrote a PHP program that hooks into syslog-ng (via syslog-ng.conf ) and it's
I know this might be a very stupid question but I am new to
I have a PHP program that encrypts a PDF file into .xxx file this
i user APACHE with PHP. if we use FTP program like filezilla. we will
C:\Program Files\PHP>pear install phpunit/PHPUnit Did not download optional dependencies: ezc/ConsoleTools, use --alldeps to download
I wrote a web based program using PHP, HTML, CSS and MySQL database. I
I wonder when we write a program in PHP, Ruby, or Python, how do
I am trying to write a program in PHP which I had already written
I want to write a program to contact a PHP script online, and show

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.