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

problem with query error
First Thanks to those who helped me on my previous posts, and the following code i'm using is not mi

'210010106140040100' == '210010106140040101'
Debugging this simple line of a PHP script

Code: if($a == $b){ }
I've found that with val

Easy administration on MySQL databases
My website is database driven and I am very tired of manually making queries to my tables in order t

Warning: session_start() [function.session-start]: Cann.....
hi, can someone help me with this? I keep getting this error....

Warning: session_start() [fu

Calling variables
I want to call this to my website but it doesn't display what I want it to,

Code: <h5&

modifying a property of an object from a different class
I have 2 classes:
- Math
- Distance

in my math class, I have this line:
$distance =

unexpected T_SL without a shift left token
Nothing too see here, I'm an idiot and resolved the problem.

question about n
I was looking at some of the things you could do with php and one of the things I have tried is n.<

my code does not work.
I have a code problem.

Quote"<a href=index.php?gogo=ureticidetay&'?l={$le

MFC GUI Programming
I am working on a project right now that requires me to create a MFC Windows GUI. Basically it need

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