Surpress Warning in PHP 
Author Message
 Surpress Warning in PHP

Hallo folks,

How do i surpress this message in informix with php

Warning: ifx_connect(): E [SQLSTATE=IX 000 SQLCODE=-951] in
/usr/local/apache/htdocs/hiljo/include/ifx_construct.php on line 127

The code i use looks like this:

 if ($accmd == "U") {
  $usrnm = strtolower( $loginnaam );
  $passwd = $loginpassword;

 }

rgds
/Arthur

TEL    0297-355776



Wed, 22 Jun 2005 01:07:26 GMT
 Surpress Warning in PHP




http://www.php.net/manual/en/language.operators.errorcontrol.php

Regards
Ingvi

Quote:
-----Original Message-----

Sent: 3. janar 2003 17:07
To: Informix list
Subject: Surpress Warning in PHP

Hallo folks,

How do i surpress this message in informix with php

Warning: ifx_connect(): E [SQLSTATE=IX 000 SQLCODE=-951] in
/usr/local/apache/htdocs/hiljo/include/ifx_construct.php on line 127

The code i use looks like this:

 if ($accmd == "U") {
  $usrnm = strtolower( $loginnaam );
  $passwd = $loginpassword;

 }

rgds
/Arthur

TEL    0297-355776



Wed, 22 Jun 2005 03:10:47 GMT
 Surpress Warning in PHP
You can turn this off in php.ini but that will suppress all warnings,

Quote:

> Hallo folks,

> How do i surpress this message in informix with php

> Warning: ifx_connect(): E [SQLSTATE=IX 000 SQLCODE=-951] in
> /usr/local/apache/htdocs/hiljo/include/ifx_construct.php on line 127

> The code i use looks like this:

>  if ($accmd == "U") {
>   $usrnm = strtolower( $loginnaam );
>   $passwd = $loginpassword;

>  }

> rgds
> /Arthur

> TEL    0297-355776

--
Paul Watson             #          
Oninit Ltd              # Growing old is mandatory
Tel: +44 1436 672201    # Growing up is optional
Fax: +44 1436 678693    #
www.oninit.com          #


Wed, 22 Jun 2005 18:17:44 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. [PHP] PostgreSQL + PHP + SQL warning messages

2. PostgreSQL + PHP + SQL warning messages

3. Warning: SQL error: , SQL state in SQLConnect in test.php on line 5

4. WARNING WARNING WARNING

5. surpress odbc GUI dialog?

6. How surpress the "BEFORE TYPING ..."

7. How to surpress a specific Unix message

8. [PHP] Re: psql with PHP question

9. [PHP] RPMs for PHP accessing PostgreSQL via ODBC over RedHat

10. PHP/MySQL vs PHP/Informix performance

11. RV: [PHP-DEV] PHP 4.0 Bug #5656 Updated: ifx_pconnect : E [SQLSTA

12. PHP and DB2 - anyone done anything with PHP?


 
Powered by phpBB® Forum Software