You are here: Re: Shared content - 2 domains « HTML « IT news, forums, messages
Re: Shared content - 2 domains

Posted by William Tasso on 10/18/49 11:30

Writing in news:alt.www.webmaster,alt.html
From the safety of the Road Runner High Speed Online http://www.rr.com
cafeteria
Heidi <blackcat2@gmail.com> said:

> William Tasso wrote:
> : Which bit is puzzling?
> :
> : You would need to use the same data store and therefore the same
> : credentials (if applicable).
>
> well maybe I have been out of the loop a bit long dealing with other
> issues...
> I just fail to see how domain1 has the database and domain2 accesses it.

well, think about what you need to access a db engine. set up a db from
each of two domains

the only info that differs will be in the connection
string/routine/function/whatever

o db-name
o db-user
o db-password

simply substitute the values from one domain into the connection thingie
on the other.

> I am tired and I need a vacation =)

oooh - a sleepy Heidi, those eyes - I'm drowning in thos..........

--
William Tasso

virtue is its own punishment

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация