On Monday 24 February 2003 15:03, John Taylor-Johnston wrote: > 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?
print_r($_SERVER) to see what you can use. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Only adults have difficulty with childproof caps. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php