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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

A href problem under php
Hello...

I tried to explain the issue in an earlier post.. but was not clear enough....

At max how many columns is advisable to create in a table/view
Hi All,
I have two transaction table from which i want to create a simple view or material

Why use interfaces in PHP (OOP)
I am learning OOP in PHP and its been a pretty good learning experience so far. What I didn't unders

Custom Container in module pool program
Hello everyone,

I have created a custom control in my module pool screen. Now I want to s

Socket problem
Hello,

Earlier I posted about my problem with my socket script. It took up to 100% CPU usage.

I got my hosting suspended XD
So I saw this challenge a day or so ago

http://www.programming-challenges.com/pg.php?page=dow

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

How to set pass login name from htaccess to php
When the user logs into my members page via htaccess, I'd like to retain the username so that I can

Is this possible? If one file assigned to an ID...
I have a page that lists property listings assigned to a specific user (a manage page), with brief t

Writing to the middle of a file
Hi I have a bit of a problem. Is there any way i can write some text to a middle of a text file. For

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