Page 1 of 1

Forwarding to different domain based on field

Posted: Wed Mar 05, 2008 4:01 am
by rhytha
Hi readers,

We have ten sites and those have one end registration. Also ten sites have different

individual databases to store those related data's. Here the registration values are stored

in master database. In case of editing, the values are stored in individual database and also

in master database.

I think u can get what i am saying based on below:


Sites


Site1.com---------databasesite1.com----Master Database.


Site2.com---------databasesite2.com----Master Database


site3.com---------databasesite2.com----Master Database

etc...


In single word what i am seeking means; i want store values at a time in master database and

in individual database.


Pleas excuse my bad language!!!!!



Thank You.

Re: Forwarding to different domain based on field

Posted: Wed Mar 05, 2008 11:18 am
by Christopher
Use PHP' header() function. See the documentation for examples.

Re: Forwarding to different domain based on field

Posted: Wed Mar 05, 2008 11:17 pm
by rhytha
arborint wrote:Use PHP' header() function. See the documentation for examples.
Hi arborint. Thank you for your reply. Your are saying 'HEADER FUNCTION'. But this is not about redirecting page here i want to redirect mysql values to particular database.