about SQL authentication on PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: ricardo@xxxxxxxxxxxxxxxxxxxx

 

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

-----Mensaje original-----
De: Jeff Taylor [mailto:jefftaylor@xxxxxxxxxxxxxxx] 
Enviado el: Tuesday, March 20, 2007 4:43 AM
Para: php-general@xxxxxxxxxxxxx
Asunto:  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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux