Sub-domains & calling unique content


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

Is there a way use something similar to the $_GET function for a sub-domain? I to be able to have my sub-domains all use the root directory, but have information filtered for a specific sub-domain.

So, if I have list A in MySQL database, which has
a.1
a.2
a.3
a.4

but I only want a.1 & a.4 to show up in sub-domain 1, and a.2 to show up in sub-domain 3, but they all need to be accessing the same root files, how do I achieve this?

No comments posted yet

Your Answer:

Login to answer
70 Like 6 Dislike
Previous forums Next forums
Other forums

I need desperate help with this php code integrated with flash please
Can someone please help me with this php code which I have been stuck on for weeks . I am trying to

Update data to upper case in parent/child tables
Hi Gurus!

In production we have a product table and which is being reference by many tabl

i want run some web server under the ip sharer
hello i want run some web server under the ip sharer
my ip is floating ip but it doesnt matter

Form Help
Here is the form:

Line number On/Off | Expand/Contract<? include("../include/sess

Advice on how to delete a mysql row using my form
Hi,

I am very new to php and am struggling to work out how to delete a portfolio item (a row

Query output more than expected
$query=mysql_query("SELECT * FROM players, communities, divisions WHERE dob BETWEEN '{$start_da

Form submissing with PHP and JQuery/Ajax
I have searched everywhere, but cannot find a solution for this... I have worked all day trying to g

rand() function
just a general question guys a girls, is the rand() function 100% random or is it based on time?

DirectoryIterator and Hacked Website
Hi Everyone.

My problem:
Some one has been sneaking in to my website hidden Iframes. I've

ASP.NET 2.0 - Enter Key - Default Submit Button
Hi,One of the most annoying things in developing web pages is handling the "Enter key" for form subm

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash