Re: connect to FileMaker Pro?

From: Date: Sat, 29 Jul 2000 02:57:56 +0000
Subject: Re: connect to FileMaker Pro?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-8910@lists.php.net to get a copy of this message
I would think the DSN is the same that is defined in the ODBC control panel because a DSN is a system-wide thing. ODBC is like a server that talks to database(s), so a DSN is like an IP address for an ODBC database. You can probably just use odbc_connect("DSNName","","") if you don't have a username and password defined for the datasource. If not, set a username and pass in the ODBC panel and use those. Michael "David C. Brauer" wrote: > I know what the parameters are, but I wanted to know what to pass through the > function (specific variable values). Is $dsn the same data source name specified > in the ODBC controle panel? Do I specify $user and $password as " " if I have no > groups/passwords enabled for my FileMaker Pro database? > > Michael Stearne wrote: > > > int odbc_connect (string dsn, string user, string password [, int cursor_type]) > > > > From the manual. > > > > Michael > > > > "David C. Brauer" wrote: > > > > > thanks! i just called my friend and he told me the same thing--I uncommented > > > odbc.dll in the php3.ini file, then configured the ODBC control panel to > > > access FileMaker Pro info. Now all I have to do is test the odbc_connect > > > method ...however, there are four parameters for this odbc_connect function, > > > and I don't know what to specify as the user and password parameter ... any > > > ideas? > > > > > > Michael Stearne wrote: > > > > > > > WebTEN would have to compile ODBC into the PHP3 they supply. Ask them. > > > > They should do that because as it is there doesn't seem to be any DB > > > > support in WebTEN's PHP3. Otherwise you could probably use MacPerl's > > > > DBI to > > > > talk to the ODBC in FMP. The PHP with WebTEN is 3.0.12, so it is possible > > > > for ODBC support. > > > > > > > > Michael > > > > > > > > "David C. Brauer" wrote: > > > > > > > > > I'm using a WebTEN server with PHP 3 support on a G4/OS 9 Mac (and > > > > > I'm > > > > > not moving to OS X anytime soon). I need to connect to a FileMaker Pro > > > > > database on the same Mac server .. is this possible? Can I do this > > > > > through ODBC functions or are they only supported by PHP 3.6 and up? > > > > > PLEASE HELP!??! > > > > > > > > > > -- > > > > > PHP General Mailing List (http://www.php.net/) > > > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > > > For additional commands, e-mail: php-general-help@lists.php.net > > > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > > For additional commands, e-mail: php-general-help@lists.php.net > > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#8910) next »