jeudi 17 septembre 2020

Get only host name from url PHP [closed]

I have this variable:

$referrer = 'https://www.google.es/';

And I want to get this part of any url:

'google'


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire