10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time.
I am seeing various bugs. I don't know if the problems are due to:
(a) Hardware problems with the new laptop.
(b) Software issues, i.e. Ubuntu not working with the other... (7 Replies)
Discussion started by: twelth_hour
7 Replies
2. Ubuntu
I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time.
I am seeing various bugs. I don't know if the problems are due to:
(a) Hardware problems with the new laptop.
(b) Software issues, i.e. Ubuntu not working with the other... (1 Reply)
Discussion started by: twelth_hour
1 Replies
3. Solaris
Dear all,
I am trying to install Sybase ASE 12.5.4 on a Sun OS Solaris 11.2 (sparcv9) machine but I am getting the following messages when launching the setup file :
-bash-4.1$ ./setup
InstallShield Wizard
Initializing InstallShield Wizard...
Searching for Java(tm) Virtual Machine...... (2 Replies)
Discussion started by: clement_te
2 Replies
4. Ubuntu
guys tell me steps to install ubunto of linux kali over
windows 7 (0 Replies)
Discussion started by: Roshan4u
0 Replies
5. Web Development
Dear all
I am new to php, I have already running tomcat web server on port 80, following are the details of tomcat
/usr/local/www/html/TOMCAT_DEMO/tomcat
whether it is possible to install and configure php without using sudo apt-get install php5 ???
please someone guide me to start php (1 Reply)
Discussion started by: Akshay Hegde
1 Replies
6. UNIX for Dummies Questions & Answers
ins this a common problem , whenever i try installing a new package or software i usually get this failure msg:
Setting up dsc-statistics-collector (201203250530-1) ...
Adding system user
Warning: The home dir /home/Debian-dsc-statistics you specified already exists.
The system user... (3 Replies)
Discussion started by: toshanshu
3 Replies
7. UNIX for Dummies Questions & Answers
hello,
i have been try installing Ubuntu server 12.04 and receiving a message: no network interface card detected. can someone help me to locate where my interface card is (1 Reply)
Discussion started by: naghazky
1 Replies
8. Ubuntu
Hi,
Operating System: Ubuntu 10.04
Other Packages Installed: freetds,DBI,DBD-Sybase
I am trying to connect to SYBASE using perl programming..But the moment I am executing my perl program it throws a SEGMENTATION FAULT error.
I have attached strace output for the same...
Thanks for... (1 Reply)
Discussion started by: vnkatara
1 Replies
9. AIX
Hi,
How do i check if Sybase is installed on aix..The sybase guy is doing remote installation and i need to check if he has installed sybase or not.
ive tried the following approaches.
#lslpp -L "*Sybase*" # tried other strings like "*ybase*" , "*base*"
#lslpp -ha |grep syb # tried... (4 Replies)
Discussion started by: muzahed
4 Replies
10. Solaris
Hi, i have for this moment Ubuntu 8.04 and XP SP2 and of course the grub loader for starting them.
I donwloaded Solaris 10.5 and intend to install it but i want to know if it will rewrite the grub loader i use now (and if, it will detect all OS?) or just append the new Solaris - any case would be... (11 Replies)
Discussion started by: Cosmin B
11 Replies
SYBASE_SET_MESSAGE_HANDLER(3) SYBASE_SET_MESSAGE_HANDLER(3)
sybase_set_message_handler - Sets the handler called when a server message is raised
SYNOPSIS
bool sybase_set_message_handler (callable $handler, [resource $link_identifier])
DESCRIPTION
sybase_set_message_handler(3) sets a user function to handle messages generated by the server. You may specify the name of a global func-
tion, or use an array to specify an object reference and a method name.
PARAMETERS
o $handler
- The handler expects five arguments in the following order: message number, severity, state, line number and description. The
first four are integers. The last is a string. If the function returns FALSE, PHP generates an ordinary error message.
o $link_identifier
- If the link identifier isn't specified, the last opened link is assumed.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
sybase_set_message_handler(3) callback function
<?php
function msg_handler($msgnumber, $severity, $state, $line, $text)
{
var_dump($msgnumber, $severity, $state, $line, $text);
}
sybase_set_message_handler('msg_handler');
?>
Example #2
sybase_set_message_handler(3) callback to a class
<?php
class Sybase {
function handler($msgnumber, $severity, $state, $line, $text)
{
var_dump($msgnumber, $severity, $state, $line, $text);
}
}
$sybase= new Sybase();
sybase_set_message_handler(array($sybase, 'handler'));
?>
Example #3
sybase_set_message_handler(3) unhandled messages
<?php
// Return FALSE from this function to indicate you can't handle
// this. The error is printed out as a warning, the way you're used
// to it if there is no handler installed.
function msg_handler($msgnumber, $severity, $state, $line, $text)
{
if (257 == $msgnumber) {
return false;
}
var_dump($msgnumber, $severity, $state, $line, $text);
}
sybase_set_message_handler('msg_handler');
?>
NOTES
Note
This function is only available when using the CT library interface to Sybase, and not with the DB library.
PHP Documentation Group SYBASE_SET_MESSAGE_HANDLER(3)