Laman

Senin, 12 Desember 2011

Get Current URL Function

Description :
get current url


Function :
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];

Tidak ada komentar:

Posting Komentar