Hello:
I'm trying to connect to a SQL Server database with PHP using windows auth. 
To do that I modified the PHP.ini file changing the line above:
...
; Use NT authentication when connecting to the server
mssql.secure_connection = Off
...
putting mssql.secure_connection = On 
...
instead but when I tried to connect to SQL Server the function
mssql_connect('myserver', '', '') doesn't work.

What am I doing bad?
need I to do something else?

Help me please, waiting for your help,
Richard
____________________________________

Eduardo Ricardo Hernández Osorio

Técnico Telecomunicaciones Aeronáuticas

U.T.B Servicios Aeronáuticos, ECASA s.a.

Aeropuerto Internacional "Frank País García"

Tel: (53) (24) 474569

 

email: [EMAIL PROTECTED]

 

"...de buenas intenciones está empedrado el camino al infierno..."

-----Mensaje original-----
De: Jeff Taylor [mailto:[EMAIL PROTECTED] 
Enviado el: Tuesday, March 20, 2007 4:43 AM
Para: php-general@lists.php.net
Asunto: [PHP] working with class inheritance

Hey all, got a slight problem, where for some reasons my variables dont seem
to be getting stored in the child class:

e.g

class Parent
{
  $private type;

  public function __construct()
  {
  }

   public function GetType()
   {
      return $this->type;
  }
}

class Child implements Parent
{
    $public function __construct()


      $this->type= 'Child';
      }
}

$Child= new Child();
echo $Child->getType;

Can u see any reason why the type would return null?

Thanks,

Jeff


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to