Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hw_error(3) [php man page]

HW_ERROR(3)								 1							       HW_ERROR(3)

hw_Error - Error number

SYNOPSIS
int hw_error (int $connection) DESCRIPTION
Returns the last error number, for the last command. PARAMETERS
o $connection - The connection identifier. RETURN VALUES
Returns the last error number or 0 if no error occurred. SEE ALSO
hw_errormsg(3). PHP Documentation Group HW_ERROR(3)

Check Out this Related Man Page

PG_VERSION(3)															     PG_VERSION(3)

pg_version - Returns an array with client, protocol and server version (when available)

SYNOPSIS
array pg_version ([resource $connection]) DESCRIPTION
pg_version(3) returns an array with the client, protocol and server version. Protocol and server versions are only available if PHP was compiled with PostgreSQL 7.4 or later. For more detailed server information, use pg_parameter_status(3). PARAMETERS
o $connection - PostgreSQL database connection resource. When $connection is not present, the default connection is used. The default connection is the last connection made by pg_connect(3) or pg_pconnect(3). RETURN VALUES
Returns an array with client, protocol and server keys and values (if available). Returns FALSE on error or invalid connection. EXAMPLES
Example #1 pg_version(3) example <?php $dbconn = pg_connect("host=localhost port=5432 dbname=mary") or die("Could not connect"); $v = pg_version($dbconn); echo $v['client']; ?> The above example will output: 7.4 SEE ALSO
pg_parameter_status(3). PHP Documentation Group PG_VERSION(3)
Man Page

6 More Discussions You Might Find Interesting

1. AIX

Can't clear error log

Hi errclear seems not working on aix 4.3/rs6k, i can't clear HW error with errclear -d H 0 ??? what is wrong ? thanks. (0 Replies)
Discussion started by: andryk
0 Replies

2. UNIX for Advanced & Expert Users

iostat output what is that mean

Hi all, i have run iostat -em, and get below result. Can i know what is this output meaning, and how to fix that problem. iostat -em ---- errors --- device s/w h/w trn tot sd7 0 1 0 1 sd8 1 1 0 2 sd9 0 1 0 1 sd10 0 ... (2 Replies)
Discussion started by: foongkt5220
2 Replies

3. UNIX for Dummies Questions & Answers

Disk inconsistency

Hi, it seems I've got an hw error on more than one device. I use an AIX 5.2. this is the problem desc. Description DISK OPERATION ERROR Probable Causes DASD DEVICE Failure Causes DISK DRIVE DISK DRIVE ELECTRONICS I wish to read the SYSLOG file, where is it ? tk (1 Reply)
Discussion started by: Carmen123
1 Replies

4. Solaris

Disk needs replacing?

A mirror Raid system with two disk (probabaly raid1: Sun solaris Netra 240) the following error occured when I look at it with metastat : d101: Submirror of d100 State: Needs maintenance Invoke: metareplace d100 c1t0d0s5 <new device> is there any advice that it indicates that... (15 Replies)
Discussion started by: xramm
15 Replies

5. Solaris

OpenSolaris GRUB> boot failure HELP

Hi, i am running an old Opensolaris 5.11 snv_111b on an x86 server. After almost 4 years of successful service, last night out of the blue started to refuse all connections to it's services, ssh, http,etc. The only visible solution at that time was a restart. But now instead of booting the... (2 Replies)
Discussion started by: d_oilen
2 Replies

6. Red Hat

Not getting login prompt

Hi, we have a server that runs on redhat linux. It was working fine until last year and all of sudden we are not able to ssh on to that server. we are getting the ping response but not getting the login prompt when tried to connect via ssh. Port 22 is opened and i have tested it out using... (6 Replies)
Discussion started by: phanidhar6039
6 Replies