Forwarding to different domain based on field

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rhytha
Forum Newbie
Posts: 2
Joined: Wed Mar 05, 2008 3:57 am

Forwarding to different domain based on field

Post 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.
Last edited by rhytha on Thu Mar 06, 2008 12:48 am, edited 2 times in total.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Forwarding to different domain based on field

Post by Christopher »

Use PHP' header() function. See the documentation for examples.
(#10850)
rhytha
Forum Newbie
Posts: 2
Joined: Wed Mar 05, 2008 3:57 am

Re: Forwarding to different domain based on field

Post 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.
Post Reply