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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 06:01:30 2024 UTC