Interview QuestionsCategory: PHPCharacters after last / from url
bestonetechnologies Staff asked 2 years ago

Hot we can get characters after last / from url?

1 Answers
bestonetechnologies Staff answered 2 years ago

$uid = substr($site_url, strrpos($site_url, ‘/’) + 1);

Your Answer

6 + 19 =