Date: 06/20/01
- Next message: jerome.delamarche <email protected>: "[PHP-DEV] Bug #11573: Malformed HTTP response Header"
- Previous message: Marc Boeren: "RE: [PHP-DEV] 4.0.6RC4 out."
- Next in thread: mad <email protected>: "[PHP-DEV] Bug #11559 Updated: charset optional argument doesn't work with sybase_[p]connect"
- Maybe reply: mad <email protected>: "[PHP-DEV] Bug #11559 Updated: charset optional argument doesn't work with sybase_[p]connect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 11559
User Update by: mad <email protected>
Status: Open
Bug Type: Sybase-ct (ctlib) related
Operating system: HP-UX 10.20
PHP Version: 4.0.5
Description: charset optional argument doesn't work with sybase_[p]connect
Okay,
I've examined the php source code...and it appears that only php source for sybase db-lib accept the optional charset.
The modification of the source to do for ct-lib seems to be easy, but how can I create a patch ? it's ok if I send you the new php_sybase_ct.c ? or how must I do ?
Thanks for your answer
@++
JC
Previous Comments:
---------------------------------------------------------------------------
[2001-06-19 09:39:58] mad <email protected>
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11559
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: jerome.delamarche <email protected>: "[PHP-DEV] Bug #11573: Malformed HTTP response Header"
- Previous message: Marc Boeren: "RE: [PHP-DEV] 4.0.6RC4 out."
- Next in thread: mad <email protected>: "[PHP-DEV] Bug #11559 Updated: charset optional argument doesn't work with sybase_[p]connect"
- Maybe reply: mad <email protected>: "[PHP-DEV] Bug #11559 Updated: charset optional argument doesn't work with sybase_[p]connect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

