php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #7550 Content-type header cannot be turned off
Submitted: 2000-10-31 12:11 UTC Modified: 2000-10-31 17:23 UTC
From: greg at currie dot clara dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.3pl1 OS: Linux (Red Hat 6.2)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: greg at currie dot clara dot net
New email:
PHP Version: OS:

 

 [2000-10-31 12:11 UTC] greg at currie dot clara dot net
It would be nice to be able to turn off the content-type header for when using php as an executable for non web scripting and cron jobs etc. I tried setting the default_mimetype value in php.ini to "" and NULL but it still prints the Content-type: as empty.

Thanks

Greg

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-31 17:23 UTC] mathieu@php.net
Using CGI binary try 

$ php -q MyScript.php

--Mathieu

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 24 06:00:01 2026 UTC