<?php $str_url = strrev($_SERVER['SCRIPT_NAME']); $bol1 = explode("php.", $str_url); $bol2 = explode("/", $bol1[1]); $kelime = strrev($bol2[0]); ?>