php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8568 charset parameter on sybase_connect dos is disallowed
Submitted: 2001-01-05 16:10 UTC Modified: 2001-06-26 17:04 UTC
From: swba at ability dot com dot br Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.3pl1 OS: Red(R)at Linux 6.2
Private report: No CVE-ID: None
 [2001-01-05 16:10 UTC] swba at ability dot com dot br
we often get intermitent charset problems on database operations (onto sybase ase 11.0.3.3-6 using ctlib) and we are tring to find out an way to solve this. reading the php online doc, we discover that there is an parameter in the sybase_conection () function to force a charset for de client connection. unfortunately this does not work, as shown below:

Warning: Wrong parameter count for sybase_connect() in /home/oab/public_html/amaral_testes/lixo/sybase-fetch.php on line "x".

the code that generate this parse error was this:
<?php
...
$id_conn = sybase_connect ('SYBASE','sa','', 'iso_1');
...
?>

is this an BUG ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-26 08:50 UTC] joey@php.net
I have a patch all ready for this, it just needs some tweaking.
 [2001-06-26 17:04 UTC] joey@php.net
Fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC