Jump to content

[SOLVED] Specific question about PHP_SELF


Agtronic

Recommended Posts

Hey guys and gals,

 

Little question for you.

 

I have a hosting package with a site, and I have two domain names pointing to this server. The host doesn't offer the ability to have one of the names point to a different directory or script.

 

My question is, can I use a PHP_SELF test to determine which domain name was used to pull the page, and then header() the correct page or root?

 

Thank you for your time!

 

-- Markku

Link to comment
https://forums.phpfreaks.com/topic/111608-solved-specific-question-about-php_self/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.