Interview QuestionsCategory: PHPCharacters after last / from url
bestonetechnologies Staff asked 1 year ago

Hot we can get characters after last / from url?

1 Answers
bestonetechnologies Staff answered 1 year ago

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

Your Answer

7 + 0 =