php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12592 Warning message when connect to Sybase Database
Submitted: 2001-08-06 07:54 UTC Modified: 2001-08-07 00:12 UTC
From: rkdhiman at lycosasia dot com Assigned:
Status: Not a bug Package: Sybase (dblib) related
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-08-06 07:54 UTC] rkdhiman at lycosasia dot com
When I connect to Sybase Database in PHP script, the following Warning message comes in my Page generated through PHP i.e. 

Warning: Sybase: Server message: Changed database context to 'rdhiman'. (severity 10, procedure N/A) in c:\inetpub\webpub\guestfatch.php on line 8


After printing this warning message, everything is going fine. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-06 23:43 UTC] rkdhiman at lycosasia dot com
Warning message comes in HTML Pages when connect to Sybase Database or Change Database context like - 

Warning: Sybase: Server message: Changed database context to 'rdhiman'. (severity 10, procedure N/A) in c:\inetpub\webpub\guestfatch.php on line 10

 [2001-08-07 00:12 UTC] lyric@php.net
Normal - Sybase generates the warning whenever you change databases. Suppress the message by prefixing sybase_connect with an @ sign (still check the result!) thusly :

$dbh = @sybase_connect(...);


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 04:01:25 2019 UTC