|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11559 charset optional argument doesn't work with sybase_[p]connect
Submitted: 2001-06-19 09:39 UTC Modified: 2001-12-13 14:55 UTC
From: mad at dactar dot ch Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.5 OS: HP-UX 10.20
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: mad at dactar dot ch
New email:
PHP Version: OS:


 [2001-06-19 09:39 UTC] mad at dactar dot ch
Hellow, here's a new bug for you :P

Short Script : 

<TITLE>Charset Sybase Bug</TITLE>

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 : 


Heeeeellllppppp please :)

Thanks for your answer



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-20 05:02 UTC] mad at dactar dot ch

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

 [2001-06-20 11:36 UTC] mad at dactar dot ch

I've updated the c source from second patch of bug #11320
and now it works. Can you update your cvs ?


 [2001-12-13 14:55 UTC] mad at dactar dot ch
Resolved with 4.1.0. Thanks :)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 18:01:36 2024 UTC