Merhabalar, postta gelen url nin alan adı ve uzantısını nasıl alabilirim?
örnek : url :
https://example.com/deneme-konusu <form action="" method="POST">
<input type="text" name="url" placeholder="URL LİNKİ">
<input type="submit" name="submit" value="Ara">
</form>sonuç :
example.com
böyle olmalı.