http://i43.tinypic.com/2zir9rb.png
THIS :(
Printable View
try something like this :
This code work on my server (ps: the port 1433 isn't usefull in it if you configure well your server.Code:<?php
$dbhandle = mssql_connect('yourip', 'login', 'password')
or die("can't connec to sql server");
$db1 = 'atum2_db_1';
$db2 = 'atum2_db_account';
?>
Notice: Use of undefined constant step2 - assumed 'step2' in C:\xampp\htdocs\register_do.php on line 2
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\config.php on line 2
these are the errors
and in line 2 config.php its
$dbhandle = mssql_connect('5.175.106.164', 'elodia', '4C0A48707F4A106856654A') i am asking now... the pw is not btw is a XoRed one.. the thing is, with this password i am logging in to sqlserver and also i got it in global.cfg and odbc and all. I am wondering if this is the problem in the config.php?
and in register_do.pho line 2 i got like this:
if(isset($_POST[step2])) {
oh and also...in mysql i went to php and i tooked off this
;extension=php_mssql.dll
;extension=php_pdo_mssql.dll
after i am restarting the Mysql service and when i try to restart Apache2.2, is not loading anymore... giving me this error
Windows could not start the Apache2.2 service on Local Computer. Error 1067: The process terminated unexpectedly.
any ideas ? :-? Thanks.
that just mean that you don't use step2 in it,you don't initialise it with a value, search better in your code..