|
-
Oct 20th, 2011, 04:33 AM
#1
Data for multiple scripts residing in the same server
Hi guys 
I have a webserver. And I have a script. There are two clients. They have their own domain name. And they paid for my script. And I set it up(installed the scripts) in my subdomains. And their domains were forwarded(and masked) to my subdomain.
Say,
Code:
www.yoyo.com --> client1.abc.com
www.bestsite.com --> client2.abc.com
So, abc.com my domain and the scripts are installed in my subdomains. There's a common data, that should be available for both the clients(in the script). Like a global news to all my clients(. And this data will be inserted by me.
Since it should be available to both clients, what should be best approach ?
I can manually insert the data into the database of the two clients, since the database and scripts are both in my same server.
A sample scenario would look like this: say, my script is to post user reviews about website. And my clients paid for this script, so that they could display their own ads, logos, etc... But each website added by each client would have a common field called global review(user reviews are posted by the users who register in my client's site). That field will hold my comments about that site. So, when a site is added by my client, it should check whether I have posted something about that site. If so, that field should be displayed.
I hope I didn't confused you 
Thanks
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|