Searched defs:dsn (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c184 char *dsn = NULL; local
188 dsn = php_stream_get_line(stream, buf, buflen, NULL);
191 return dsn;
195 /* {{{ proto void PDO::__construct(string dsn[, string username[, string passwd [, array options]]])
222 /* let's see if this string has a matching dsn in the php.ini */
225 snprintf(alt_dsn, sizeof(alt_dsn), "pdo.dsn.%s", data_source);
1198 ZEND_ARG_INFO(0, dsn)
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_driver.c450 char *dsn; local
451 spprintf(&dsn, 0, "%s;UID=%s;PWD=%s", dbh->data_source, dbh->username, dbh->password);
453 dbh->data_source = dsn;

Completed in 5 milliseconds