pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Servers24 Network <servers24@gmail.com>
To: pgsql-php@postgresql.org
Subject: PgSQL and integration between 2 PHP programs and a Java program
Date: Thu, 9 Nov 2006 13:48:13 +0330
Message-ID: <7b872b430611090218k55fc4cf3kf1fc83f0dccdebf2@mail.gmail.com> (raw)

Hi,

I'm a newby so please bare with me :

I want to integrate 2 PHP scripts and a Java program that all have the
capability of using PgSQL as their databases.
The point is that all the programs have their own DB and table structure.
What I want to do is to have a single DB for all of them and have them
authenticate the users somehow that a registered user in PHP script can
login to Java program too!
suppose that PHP1 scripts have a table called members with 2 fields
"username" and "password". PHP2 has its own table called logins and have 2
fields "login_name" & "login_password". and my Java program have a table
called profiles with "plogin" and "ppass". suppose that the password field
in all the programs are MD5. Now I want to integrate them. I have read some
PgSQL help books and it seems that there are many options that PgSQL offers
for this, like inheritance, views and join. but I don't know exactly what to
do. Can anyone help please?


-- 

Warm Regards,
Amir

view thread (11+ messages)  latest in thread

Message-ID: <7b872b430611090218k55fc4cf3kf1fc83f0dccdebf2@mail.gmail.com>
Permalink:  ../7b872b430611090218k55fc4cf3kf1fc83f0dccdebf2@mail.gmail.com/
Also on:    postgresql.org/message-id/7b872b430611090218k55fc4cf3kf1fc83f0dccdebf2@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: servers24@gmail.com
  Subject: Re: PgSQL and integration between 2 PHP programs and a Java program
  In-Reply-To: <7b872b430611090218k55fc4cf3kf1fc83f0dccdebf2@mail.gmail.com>
  References: <7b872b430611090218k55fc4cf3kf1fc83f0dccdebf2@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox