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

How to read CSS message data
Hi,
I have a requirement here. When working as a Dev angel for multiple customers its really di

update sql when refresh - php
hi
I have made a table (attachement)

the users can update the sql database using + or x bu

PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The va

Simultaneous select/update/insert
Hi

How would I need to go about when 2 users update a single row simultaneous? And how would

Vertical Alligning - Not working in 1 cell?
<?php

echo "<table id="valign" width="60%" style=

php form help
Hey,

I use a control file to set my meta tags and titles

Here's an example
Code: &a

Perplexing problem showing a .jpg
Please disregard..........I figured it out

dropdown menu
Hello everbody,

I am php newbie.
I need to develop a program that once click the drop do

Frustrated php Newbie
First off, I am pretty much a PHP nub. I can read and understand the language (most of the time) so

shoping cart issues
i´ve wrote this and works when i add an item to, my cart, but when i want to add othrer item just

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