Register for your free account! | Forgot your password?

You last visited: Today at 09:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



mssql connection?

Discussion on mssql connection? within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2014
Posts: 21
Received Thanks: 0
mssql connection?

Hello again,

I tried to configure my homepage to connect to my dedicated server (sql server DB 2000) with this:

PHP Code:
$GLOBALS["Connect"] = mssql_connect("178.33.***.XX","USER","PW");

/**
 * Check connection
 */
if (!$GLOBALS["Connect"]) {
    
printf("No Connection");
    exit();

But don't matter what I do (disabed firewall, tried some sql server settings, activated tcp/ip in settings). I can't reach the database.

Any Ideas?
D4rkWorkx is offline  
Old 05/15/2014, 21:20   #2
 
elite*gold: 0
Join Date: Dec 2012
Posts: 107
Received Thanks: 69
Try this.


you may also need to enable MSSQL.DLL in your php.ini
TheBrain_ is offline  
Thanks
1 User
Old 05/15/2014, 22:16   #3
 
elite*gold: 0
Join Date: May 2014
Posts: 21
Received Thanks: 0
Quote:
Originally Posted by TheBrain_ View Post
Try this.


you may also need to enable MSSQL.DLL in your php.ini
it is enabled...

it told me: Couldn't connect to SQL Server on 178.33.***.XX

edit: I checked over telnet if packets come to destination Port 1433...and yea..my pings come.

But webserver nooot <.< any idea?

edit: got it...thanks
D4rkWorkx is offline  
Old 05/15/2014, 23:58   #4
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,853
Received Thanks: 1,876
mssql_connect is old history, you should use
janvier123 is offline  
Thanks
1 User
Old 05/16/2014, 04:10   #5
 
Decima's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
in newer versions of apache and php the old mssql dlls arent supported
Decima is offline  
Old 05/16/2014, 08:21   #6
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,853
Received Thanks: 1,876
True, but if you REALLY want to use mssql connect, use Xampp 1.7.3 it still have the mssql inside
janvier123 is offline  
Reply


Similar Threads Similar Threads
mssql/Odbc Connection
01/16/2013 - Rappelz Private Server - 5 Replies
I found a top 100 ranking script including a mssql_connect is there a way to make it a odbc connection instead of mssql? if not can anyone tell me how this should be connected to the server like mssql_connect <?php $host="......"; $user = "....."; $pw = "...";
MSSQL Connection unter IIS
06/12/2011 - Flyff Private Server - 11 Replies
Guten Tag liebe ePvpers-Gemeinde, Ich habe nun PHP unter IIS zum laufen gebracht, ohne probleme nun hab ich folgendes Problem: Wenn ich ein Register-Script einbaue und alles ausfülle gelange ich nur auf eine Error Seite, der Error lautet 500 das Ressourcen nicht zu finden wären. In der PHP.ini gibts steht nichts von der MSSQL.dll (genaue name nicht im kopf). Damit das klappen könnte. Jemand eine Idee? :/



All times are GMT +2. The time now is 09:24.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.