php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18188 mssql_connect not working
Submitted: 2002-07-05 13:31 UTC Modified: 2002-09-11 11:33 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: duarelulu at yahoo dot com Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 4.2.1 OS: Linux Red Hat 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: duarelulu at yahoo dot com
New email:
PHP Version: OS:

 

 [2002-07-05 13:31 UTC] duarelulu at yahoo dot com
$hostname = "1.1.1.1";
$username = "user";
$password = "pass";
$dbName = "db";

$conexion = mssql_connect($hostname,$username,$password) or die ("No connection");


'./configure' '--with-apache=../apache_1.3.24' '--with-mysql'
                                               '--enable-dbx' '--with-mhash' '--with-gd'                                                    '--with-jpeg-dir'
                                               '--enable-debug' '--enable-track-vars'
                                               '--with-sybase=/usr/local/freetds'

Using Windows 2000 and MS SQL 2000 for the database.

This example was working with php 4.1.x

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-05 15:57 UTC] tal@php.net
Define 'not working'. you get an error message? what kind of error message?

-Tal
 [2002-09-11 11:33 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-05-28 07:48 UTC] poofanda at yahoo dot com
when i use mssql_connect i get an "Fatal error: Call to undefined function: mssql_connect() in C:\web\www\t.php on line 2" error message on the web page!!...

what's the problem?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC