PHP Function to Get Current Page URL and URL Parts
PHP Function that Returns Array Containing the Following URL and URL Parts: $fullUrl, $urlScheme, $urlHost, $urlPath, $urlQuery, $urlFragment
Full URL and URL Parts for This Page:
- Full Url:
https://vb6code.com/code-php-current-page-url-parts.php
- URL Scheme:
https
- URL Host:
vb6code.com
- URL Path:
/code-php-current-page-url-parts.php
- URL Query:
- URL Fragment: