Here is the simplest way to get the current’s page full URL even when using clean urls (the address in the browsers line is different than the actual file accessed):
1 |
pageLink="http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; |
Here is the simplest way to get the current’s page full URL even when using clean urls (the address in the browsers line is different than the actual file accessed):
1 |
pageLink="http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; |