Php Get Url Path Javascript Interview Question