• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. fuzhiwara
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    fuzhiwara

    @fuzhiwara

    0
    Reputation
    297
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    fuzhiwara Unfollow Follow

    Latest posts made by fuzhiwara

    • mssql_connect() Unable to connect to server to Remote host from php hosting

      I have working mssql connecting codes and them working in my another company php host but dont work when i moved new host. All codes same i dont know why connect from new host ? In new host using cpanel and php ( asphostportal) and im looking php.ini in cpanel mssql settings looking good. my codes below under

      $usernameb ="myuser";
      $passwordb = "mypass";
      $databaseb = "mydb";
      $host ="myhostip"
      
      $connection = mssql_connect($host, $usernameb, $passwordb);
      if (!$connection) {  die('Not connected : ' . mssql_get_last_message());} 
      
      
      $db_selected = mssql_select_db($databaseb, $connection);
      if (!$db_selected) {
        die ('Can\'t use db : ' . mssql_get_last_message());
      } else{
      
      
      }
      

      And gives that error on my new hosting

      Warning: mssql_connect(): Unable to connect to server: ip here in
      

      Any idea ?

      posted in General Discussion
      F
      fuzhiwara