28 Satırdaki kodlar
$h = str_replace('\\', '/', $h);
$dr = str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']);
$h = $dr.end(explode($dr, $h));
return $h;
}Konu hakkında yardımcı olabilecek arkadaşlar yönlendirirse sevinirim
3
●437
$h = str_replace('\\', '/', $h);
$dr = str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']);
$h = $dr.end(explode($dr, $h));
return $h;
}Konu hakkında yardımcı olabilecek arkadaşlar yönlendirirse sevinirim
$h = str_replace('\\', '/', $h);
$dr = str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']);
$ex = explode($dr, $h);
$h = $dr.end($ex);
return $h;
}Şeklinde deyebilir misin?