Re: [PHP] How to connect to remote database server through PHP?

2001-06-22 Thread George Whiffen

Manisha,

For the Sybase network connections, you are probably best
off contacting Sybase 
specialists. php via the sybase_connect function is likely
to look like any other Sybase 
client on a remote box, so the question is mostly about how
do you get any Sybase client 
on your web server to communicate with the main database
server.

What about the administrator of the main database server? 
They should be able to help
you on the Sybase networking side.  In any case they are
likely to have
lots of opinions about the security implications of what you
are trying to do.

What you can tell your client is that you should have no
problem with
sending updates to the main database server from your side,
but you really
need their central database people to brief you on what is
acceptable/sensible
from their side.

Sorry I couldn't help more.


Manisha wrote:
> 
> Hi,
> 
> We are developing web application. The client wants it to get connected to
> their central database server in USA. Web server is in Singapore.
> 
> Web server configuration  - Situated in Singapore, unix / php / mysql -
> this database is only for some special cases where application does not
> require  central database.
> 
> Main central database server - Situated in USA, HP UX / sybase
> 
> On web site we will be providing product listing and order form. After the
> order is confirmed and payment is made, client wants to update some fields
> on central database.
> 
> Can anybody give me the details, how to do it? If I am using php, how to
> connect to remote server's database? What are the components require on
> both servers? How will be the network configuration? Any information
> source? Any mailing list for network connections ?
> 
> Thanks in advance
> manisha
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] How to connect to remote database server through PHP?

2001-06-21 Thread M.E. Post


"Manisha" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> We are developing web application. The client wants it to get connected to
> their central database server in USA. Web server is in Singapore.
>
> Web server configuration  - Situated in Singapore, unix / php / mysql -
> this database is only for some special cases where application does not
> require  central database.
>
> Main central database server - Situated in USA, HP UX / sybase
>
> On web site we will be providing product listing and order form. After the
> order is confirmed and payment is made, client wants to update some fields
> on central database.
>
> Can anybody give me the details, how to do it? If I am using php, how to
> connect to remote server's database? What are the components require on
> both servers? How will be the network configuration? Any information
> source? Any mailing list for network connections ?

Connecting to Sybase:
http://www.php.net/manual/en/function.sybase-connect.php or
http://www.php.net/manual/en/function.sybase-pconnect.php for persistent
connections. There is a valuable user comment on the bottom of this page.
Complete overview of PHP Sybase functions at
http://www.php.net/manual/en/ref.sybase.php

Connecting to MySQL: http://www.php.net/manual/en/function.mysql-connect.php
or http://www.php.net/manual/en/function.mysql-pconnect.php for persistent
connections. Complete overview of PHP MySQL functions can be found at
http://www.php.net/manual/en/ref.mysql.php.

hth

Meint




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] How to connect to remote database server through PHP?

2001-06-21 Thread Manisha

Hi,

We are developing web application. The client wants it to get connected to 
their central database server in USA. Web server is in Singapore.

Web server configuration  - Situated in Singapore, unix / php / mysql - 
this database is only for some special cases where application does not 
require  central database.

Main central database server - Situated in USA, HP UX / sybase

On web site we will be providing product listing and order form. After the 
order is confirmed and payment is made, client wants to update some fields 
on central database.

Can anybody give me the details, how to do it? If I am using php, how to 
connect to remote server's database? What are the components require on 
both servers? How will be the network configuration? Any information 
source? Any mailing list for network connections ?


Thanks in advance
manisha



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]