
Brady |
Hey Millie,
I use the following code and it does the trick for me:
$current_url= (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
I hope this helps.
Monday, 7th December 2009
| Votes: |
|
13 |
|
8 |
|