Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get file name from url in php

// Get Opened Script Page Name
        $pagename = basename($_SERVER['REQUEST_URI'], '?' . $_SERVER['QUERY_STRING']);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #url #php
ADD COMMENT
Topic
Name
5+7 =