Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php get current url without filename
Yağmur Yildirim
Programming language:
PHP
2021-04-18 15:59:02
0
Q:
php get current url without filename
Tracy
Code:
PHP
2021-07-07 11:30:16
echo
'//'
.
$_SERVER
[
'HTTP_HOST'
].dirname(
$_SERVER
[
'PHP_SELF'
]);
0
Tags
get
file
php
php get
Related
php get php.ini location from termina
php get url path name
current url php
php get location from ip address
php get data from url
php get filename without extension
php get file location
filename php
php get location of user
php get file extension from filename
get url with php
php get full current url
php get domain from url
php get current domain
get url php
get page url php
php get file extension from url string
php get domain name from url
php current file name
New to Communities?
Join the community