Bug #11559: charset optional argument doesn't work with sybase_[p]connect

From: Date: Tue, 19 Jun 2001 13:39:58 +0000
Subject: Bug #11559: charset optional argument doesn't work with sybase_[p]connect
Groups: php.dev 
Request: Send a blank email to php-dev+get-57256@lists.php.net to get a copy of this message
From: mad@dactar.ch Operating system: HP-UX 10.20 PHP version: 4.0.5 PHP Bug Type: Sybase-ct (ctlib) related Bug description: charset optional argument doesn't work with sybase_[p]connect Hellow, here's a new bug for you :P Short Script : <TITLE>Charset Sybase Bug</TITLE> <? $CHARSET="iso_1"; $DSQUERY="XYZ"; $USER="xxxxx"; $PASS="yyyyy"; $dbh=sybase_connect($DSQUERY,$USER,$PASS,$CHARSET); sybase_close($dbh); ?> Result of the script : Warning: Wrong parameter count for sybase_connect() in /PKl01h01/soft/web/site/html/charset.php on line 7 Warning: Supplied argument is not a valid Sybase-Link resource in /PKl01h01/soft/web/site/html/charset.php on line 8 PHP configured with : --with-config-file-path=/PKl01h01/soft/web/cfg --without-mysql --with-sybase-ct=/PKl01hp4/soft/ase11.5.1 --with-pdflib=/PKl01h01/soft/web --with-png-dir=/PKl01h01/soft/web --with-ttf=/PKl01h01/soft/web --with-jpeg-dir=/PKl01h01/soft/web --with-xpm-dir=/PKl01h01/soft/web --with-gd --prefix=/PKl01h01/soft/web --with-apxs=/PKl01h01/soft/web/apache/bin/apxs Heeeeellllppppp please :) Thanks for your answer @++ JC -- Edit Bug report at: http://bugs.php.net/?id=11559&edit=1

« previous php.dev (#57256) next »