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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rkdhiman at lycosasia dot com
New email:
PHP Version: OS:

 

 [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-2020 The PHP Group
All rights reserved.
Last updated: Sun Nov 29 08:01:23 2020 UTC