DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php get current url without filename
echo '//'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#current
#url
#filename
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit