Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

including a banner on what domain/page

Status
Not open for further replies.
Joined
Jul 13, 2004
Posts
5,851
Reaction score
385
not sure how to describe this but here goes.

i have a default landing page that all my domains are parked at. what i am looking for is does anyone know how to display text/banner as to what domain name it is:

for example:

domain1 is the main page/site
domain2 is parked at domain 1 but i want a clothes banner and some clothes text to be at the top of the page.
domain3 is parked at domain 1 but i want a loans banner and some loan text to be at the top of the page

thanks in advance :)
 
are you saying you'd like to know which domain was called and then drive the corresponding content accordingly all centrally in one place?

easiest thing to do is some simple php like:
$myDomain = $_SERVER['HTTP_HOST'];

And then based on this value, output whichever banner etc you want.
 
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom