php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4668 Apears the header(X-Powered-By: PHP/4.0.0 Expires: Mon, 26...) in the HTML page
Submitted: 2000-05-29 16:03 UTC Modified: 2000-06-09 05:42 UTC
From: fmoreira at imediata dot pt Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (29/05/2000) OS: Win NT 4
Private report: No CVE-ID: None
 [2000-05-29 16:03 UTC] fmoreira at imediata dot pt
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); 
?>
<html><body>
<?php 
echo "Hi There!";
?>
</body>
</html>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-09 05:42 UTC] zeev at cvs dot php dot net
Does it happen on every script?  Are you using the CGI binary?

The problem is most probably a buggy php.ini file.  Try to remove your php.ini file (or rename it) and see if the problem persists.  If that's not it, please let me know.

PHP 4.0.1 will properly report parse errors in php.ini using Windows message boxes.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 09:01:28 2024 UTC