<div class="input">
<input type="text" readonly id="input-url" value="<?php $Path=$_SERVER['REQUEST_URI']; $siteurl= site_url(); echo $URI= $siteurl.$Path; ?>">
<button type="button" onclick="copy('input-url')">Kopyala</button>function copy(id) {
document.getElementById(id).select();
document.execCommand('copy');
notification('Successfully copied.'); }Hocam ben böyle yapabildim.