The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

sybase_min_error_severity> <sybase_get_last_message
[edit] Last updated: Sat, 12 May 2012

view this page in

sybase_min_client_severity

(PHP 4, PHP 5)

sybase_min_client_severitySets minimum client severity

Description

void sybase_min_client_severity ( int $severity )

sybase_min_client_severity() sets the minimum client severity level.

Parameters

severity

Return Values

No value is returned.

Notes

Note: This function is only available when using the CT library interface to Sybase, and not with the DB library.

See Also



sybase_min_error_severity> <sybase_get_last_message
[edit] Last updated: Sat, 12 May 2012
 
add a note add a note User Contributed Notes sybase_min_client_severity
sean dot healey at bayernlb dot co dot uk 27-Oct-2005 10:50
Sybase considers severity levels 0-16 as non-fatal. Above that you probably don't want to block messages.
rudolf at 1stomni dot com 27-Feb-2002 06:41
This parameter setup level of responce mesage filtering when you compile
--with-sybase_ct

<?
sybase_min_client_severity
(9);
sybase_min_server_severity(9);
$db=sybase_connect("mdserver","sa","");
?>

Will result:
Warning: Sybase: Server message: Changed database context to 'master'.
(severity 10, procedure N/A) in
/var/www/html/DBAdmins/phpSybaseAdmin/test.php on line 4

<?
sybase_min_client_severity
(100);
sybase_min_server_severity(100);
$db=sybase_connect("mdserver","sa","");
?>

Will not generate warning!!!

Can be used for SYBASE debugging !
26-Oct-2001 09:46
The severity levels mentioned here are referenced in the Sybase System Administration documentation. I didn't know that, and it annoyed me. Now you know.

 
show source | credits | sitemap | contact | advertising | mirror sites