• 0

Checking parameters


Question

Hello, I'm building some forms in PHP and I'm deploying them in Server #1, the MSSQL DB is in Server #2, I've written this code to access the DB

 

<?PHP
$username ="yyy";
$password = "xxx";
$database = "fff";
$server = "111.222.333.444,1433";

$connection = mssql_connect($server, $username, $password);
echo "Connected!3";
if (!$connection) {  
    die('Not connected : ' . mssql_get_last_message());
}
echo "Connected!5";
if ($connection) {  
    echo "Connected!1";
}
echo "Connected!2";
?>

 

The result is a blank page, after the $connection, nothing shows, not even the echos.

 

The Administrator told me that the info that he provided, "thinks" it's correct.

 

How can I check if the info that he provided is correct?

 

I've access to both Servers.

 

The problem is really in the info provided or it's another problem?

Link to comment
https://www.neowin.net/forum/topic/1362868-checking-parameters/
Share on other sites

2 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.