Bug #15633 Updated: Internal Server Error with @mysql_connect
| From: | sebastien at tardif dot com | Date: | Wed, 20 Feb 2002 14:06:43 +0000 |
| Subject: | Bug #15633 Updated: Internal Server Error with @mysql_connect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-667@lists.php.net to get a copy of this message | ||
ID: 15633
Updated by: sebastien@tardif.com
Reported By: sebastien@tardif.com
Status: Bogus
Bug Type: Reproducible crash
Operating System: Windows 2000
PHP Version: 4.1.1
New Comment:
Sorry,
My problem was in fact due not to the call with suppressed error output
(@mysql_Connect), but to the header("HTTP/1.1 401 bla bla");
I changed it to header("Status: 401 bla bla") and my problem was
resolved.
Previous Comments:
------------------------------------------------------------------------
[2002-02-20 06:18:54] sander@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
------------------------------------------------------------------------
[2002-02-19 16:54:06] sebastien@tardif.com
I have a script were I must disable error-reporting by the
mysql_connect function, because I will use header("Status: 401 bla
blabla");
When I disable error reporting (either with @mysql_connect or by
modifying error_reporting php.ini), I get the "Internal Server Error
500" page.
If I don't disable it, I cannot change the header because the function
outputs information.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15633&edit=1