php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #39525 mssql connetion
Submitted: 2006-11-15 16:27 UTC Modified: 2006-11-18 13:56 UTC
From: hack988 at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hack988 at gmail dot com
New email:
PHP Version: OS:

 

 [2006-11-15 16:27 UTC] hack988 at gmail dot com
Description:
------------
mssql_connect,mssql_pconnect have 4 Paramates

mssql_connect([string servername [, string username [, string password [, bool new_link]]]])

mssql_pconnect([string servername [, string username [, string password [, bool new_link]]]])

Document just Descript 3 Paramates

I found fourth Paramate from Source Code

(I'm sorry for my pool english)

Reproduce code:
---------------
Update Document

Expected result:
----------------
Update Document

Actual result:
--------------
Update Document

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-17 16:31 UTC] fa@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Do you mean any specific mirror or translation?
http://php.net/mssql_connect shows it for me.
 [2006-11-18 11:42 UTC] hack988 at gmail dot com
Ok See http://php.net/mssql_connect
resource mssql_pconnect ( [string servername [, string username [, string password]]] )

Just Descript 3 Paramates here.

But in mssql.c (/* $Id: php_mssql.c,v 1.86.2.44.2.11 2006/04/04 18:50:16 fmk Exp $ */)

I found follow Description about mssql_connect
/* {{{ proto int mssql_connect([string servername [, string username [, string password [, bool new_link]]]])
   Establishes a connection to a MS-SQL server */

And Then I looking for first version when paramate 4 added at cvs.php.net

The new_link is supported upper php 4.4.1 and php 5.1.1

Also in 
http://php.net/mssql_pconnect
No description about paramate new_link
 [2006-11-18 11:58 UTC] fa@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


In the bottom right corner there's a link that looks like this: [This mirror] generously provided by: [XYZ]
This indicates what mirror you are using, which seems to be outdated. I just tried 20 random mirrors from http://php.net/mirrors.php (de7de2/ca/za/th/us2/etc) and all worked for me.

You may want to either directly try something like http://us2.php.net/mssql_connect or try setting another mirror in your preferences: http://php.net/my.php
 [2006-11-18 12:42 UTC] hack988 at gmail dot com
I use this mirror http://cn2.php.net/

But all specific mirrors just 3 paramates descripted.
 [2006-11-18 13:56 UTC] bjori@php.net
We have tools to track outdated translations.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 05 18:00:02 2025 UTC