about SQL authentication on PHP

From: Date: Thu, 19 Jul 2007 20:56:57 +0000
Subject: about SQL authentication on PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-259190@lists.php.net to get a copy of this message
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@hog.ecasa.avianet.cu "...de buenas intenciones está empedrado el camino al infierno..." -----Mensaje original----- De: Jeff Taylor [mailto:jefftaylor@optusnet.com.au] 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

« previous php.general (#259190) next »