Use the following code to get the current page URL.
global $base_url; print $base_url.request_uri();
Done =)
Reference: StackOverflow – How to get the full URL of a Drupal page
Use the following code to get the current page URL.
global $base_url; print $base_url.request_uri();
Done =)
Reference: StackOverflow – How to get the full URL of a Drupal page