[HELP] Register Page

08/24/2012 11:51 mongreldogg#1
I know I know it maybe a foolish question.

Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\reg\index.php

Maybe it's because I use XAMPP 1.8 now?
Help, this is a first time I see this shit using my register page that worked in the past.
08/24/2012 12:01 →Striker←#2
Download the drivers from here
[Only registered and activated users can see links. Click Here To Register...]
Extract them in Xampp\php\ext
and don't forget to enable the extensions in php.ini

Have Fun :)
08/24/2012 12:06 mongreldogg#3
Quote:
Originally Posted by →Striker← View Post
Download the drivers from here
[Only registered and activated users can see links. Click Here To Register...]
Extract them in Xampp\php\ext
and don't forget to enable the extensions in php.ini

Have Fun :)
Thanks but I'm noob - can you tell how to enable this extensions?)

Edit: got it, enabled. But don't work. Any solution?
08/24/2012 12:50 Xijezu#4
Quote:
Originally Posted by mongreldogg View Post
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\reg\index.php
Open your php.ini.
Somewhere you'll find:
Code:
;mssql_*insert-missing-thing*.dll
Remove the ;

Quote:
Originally Posted by →Striker← View Post
Download the drivers from here
[Only registered and activated users can see links. Click Here To Register...]
Extract them in Xampp\php\ext
and don't forget to enable the extensions in php.ini

Have Fun :)
dafuq?
This wont solve his issue since he's looking for mssql_[...], not for sqldrvr.
08/24/2012 13:29 mongreldogg#5
extension=php_mssql.dll
got it
xampp/php/ext/php_mssql.dll - got it, downloaded 1.0.0 version.
Don't work. Anything else?
Or maybe it will be good to install diferrent version of XAMPP?

Edit: PHP v 5.4.4
08/24/2012 15:47 →Striker←#6
Quote:
Originally Posted by Xijezu View Post
dafuq?
This wont solve his issue since he's looking for mssql_[...], not for sqldrvr.
how in hell your going to enable the mssql without the sql driver?
08/24/2012 16:38 mongreldogg#7
Okay guys stop it. It's OK with mssql_connect, found a solution BUT!

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server

All the data entered is normal but i can't connect to the DB.
For more info: OS Windows Server 2008 R2, SQL server 2012 RC0, XAMPP 1.7.3,
enabled extensions: php_dblib.dll, php_mssql.dll
08/24/2012 21:20 trev1#8
Just wondering if i could get some help setting up xampp my first time using it. Already installed it and it wont start mysql says port is already taken. Sorry for the asking for help really new at xampp
08/24/2012 23:24 s0ul37#9
Quote:
Originally Posted by trev1 View Post
Just wondering if i could get some help setting up xampp my first time using it. Already installed it and it wont start mysql says port is already taken. Sorry for the asking for help really new at xampp
Dude, just change the preferences to make it use a different port, it uses the standard port, which is also used by other programs, e.g.: Skype, that's why it is blocked.

[Only registered and activated users can see links. Click Here To Register...]

If you would (at least) try to use your brain, issues like these would never come up.

Quote:
Originally Posted by →Striker← View Post
how in hell your going to enable the mssql without the sql driver?
Your link leads to SQLSRV extension, that has nothing to do with the MSSQL extension/function. These are two different methods to connect to the database. Stop bullshitting around.
08/24/2012 23:44 →Striker←#10
Quote:
Originally Posted by s0ul37 View Post
Your link leads to SQLSRV extension, that has nothing to do with the MSSQL extension/function. These are two different methods to connect to the database. Stop bullshitting around.
I'm so disappointed to see this from programming developers ... Flaming and insisting on their mistake..

[Only registered and activated users can see links. Click Here To Register...]
08/24/2012 23:49 s0ul37#11
Quote:
Originally Posted by →Striker← View Post
I'm so disappointed to see this from programming developers ... Flaming and insisting on their mistake..

[Only registered and activated users can see links. Click Here To Register...]
Your link leads to an explanation of the SQLSRV method to connect to the database. Are you trying to tell me, that I was right? Did you even look at the page, I needed like 3 seconds.
08/24/2012 23:51 →Striker←#12
Quote:
Originally Posted by s0ul37 View Post
Your link leads to an explanation of the SQLSRV method to connect to the database. Are you trying to tell me, that I was right? Did you even look at the page, I needed like 3 seconds.
OK you know what my link leads :) Now read what the first post is about...
08/24/2012 23:52 s0ul37#13
Quote:
Originally Posted by →Striker← View Post
OK you know what my link leads :) Now read what the first post is about...
He was looking for a solution to connect through the MSSQL method, not for the SQLSRV method. I was just trying to tell you that Xijezu was right with his post. Are you retarded?

Quote:
Originally Posted by Xijezu
This wont solve his issue since he's looking for mssql_[...], not for sqldrvr.
Quote:
Originally Posted by Striker
how in hell your going to enable the mssql without the sql driver?
Just seems like you do not have enough synapses to get it. (He was looking for help to connect through mssql(), you posted the extension file for sqlsvr(). Xijezu said he is looking for mssql() and not sqlsrv(). You thought a sqlsrv driver is needed for mssql(), but mssql has nothing to do with sqlsrv. These are two different functions/ways to connect to the database and he was looking for the mssql() method.
08/25/2012 08:11 trev1#14
@soul37 If you wouldnt be so rude people might actually figure things out in this community. And by the way i did not have to change the port i used the installer which tried to install mysql as a service when i didnt need to since i already have it installed. But thank you for being so rude instead of just helping people out
08/25/2012 15:02 mongreldogg#15
Well, this thread helped me a lot.. Ty very much.
Have a VB script for registration, works without brain f*cking.

Close it.