Re: [PHP3] remote DB(sybase) connection question
[email protected] (Andrej Trobentar)
| Newsgroups | php.general |
|---|---|
| Organization | Rikom d.o.o. |
| Message-ID | <[email protected]> |
[email protected] wrote: > Hello, > > Can you connect to remote DB servers where php is not istalled ?. > For instance if I had host-A that had apache/php installed, could I then > using the connection (php functions) connect to host-B that has > say Sybase running on it ?. > WOuld I need to install openclient first where php is resident on host-A.. > > OR do I have to install php/apache where the say Sybase is resident ? and use > this server as the web server? > Thanks > D.T. > ________________________________________________________________________ > > CONFIDENTIALITY This e-mail and any attachments are confidential and may > also be privileged. If you are not the intended recipient(s) please note > that any distribution, copying or use of this communication or the > information in it is strictly prohibited.If you are not the named > recipient(s), please notify the sender immediately and do not disclose > the contents to another person, use it for any purpose, or store or > copy the information in any medium. > > > ************ > > -- > PHP 3 Mailing List <http://www.php.net/> > To unsubscribe, send an empty message to [email protected] > To subscribe to the digest, e-mail: [email protected] > To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 > To contact the list administrators, e-mail: [email protected] Sure you can connect to a remote database. In my case I connect to a remote Oracle 8i database throu TCP/IP protocol. My connect script looks like this : "$conn = OCILogon("username", "password", "name_of_the_host_on_which_the_remote_database_is_installed");" Hope that helps a little. AnD.