SHARE
TWEET

Untitled

a guest Jun 25th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $url = $_SERVER['REQUEST_URI'];
  2. echo $url.'<br>';
  3. $url=explode('/',$url);
  4. echo $url[2].'<br>';
  5. $url=explode('.',$url[2]);
  6. $url=$url[0];
  7. echo $url;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top