Page 1 of 1

How do I detect a websites full url for a prtable script?

Posted: Wed Jan 31, 2007 9:58 am
by mgs019
I am making a small module to be portable. Part of its function requires that it can identify the website it is in to see whether the site is registered.

Any ideas how I can do this? Is there a php function that is like geturl() or something?

Martin

Posted: Wed Jan 31, 2007 10:20 am
by pickle
Check $_SERVER variables.