Skip to content

Instantly share code, notes, and snippets.

@MasterHans
Created November 30, 2023 19:36
public function getKeyFromUrl($url)
{
$index = mb_strpos($url, '.com');
return mb_substr($url, $index+4);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment