include
| From: | John Taylor-Johnston | Date: | Mon, 24 Feb 2003 07:03:53 +0000 |
| Subject: | include | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136845@lists.php.net to get a copy of this message | ||
Hi,
I have an index.html that I use on different URLs. Because of that, I want to create a causal
reality. I want to
if ?? = http://foo.ccl.flsh.usherb.ca/
include('./note.html');
if the URL is http://foo.ccl.flsh.usherb.ca/ but not if
the URL is http://foo.compcanlit.ca/
What variable can I muster up to do this?
--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not open-source, it's Murphy's Law."
' ' ' Collège de Sherbrooke:
ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/
- Université de Sherbrooke:
http://compcanlit.ca/
819-569-2064