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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
28 - 8 = ?
Subscribe to this entry?

 
 [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: Thu Apr 25 07:01:31 2024 UTC