Answers for "how to find file current url in php"

PHP
1

get file name from url in php

// Get Opened Script Page Name
        $pagename = basename($_SERVER['REQUEST_URI'], '?' . $_SERVER['QUERY_STRING']);
Posted by: Guest on November-08-2021

Code answers related to "how to find file current url in php"

Browse Popular Code Answers by Language