Interview QuestionsCategory: PHPCharacters after last / from url
bestonetechnologies Staff asked 9 months ago

Hot we can get characters after last / from url?

1 Answers
bestonetechnologies Staff answered 9 months ago

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