Re: How to programmatically finding freetds.conf location?
| From: | Joseph Crawford | Date: | Sat, 12 Mar 2005 18:51:56 +0000 |
| Subject: | Re: How to programmatically finding freetds.conf location? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38876@lists.php.net to get a copy of this message | ||
you could execute the exec command in php and run a locate
freetds.conf or whereis freetds.conf or find freetds.conf, i believe
whereis only locates binary files not sure though.
read up on exec here
http://us2.php.net/manual/en/function.exec.php
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl@gmail.com