Visa ett inlägg
Oläst 2009-11-18, 16:57 #14
johancmedia johancmedia är inte uppkopplad
Nykomling
 
Reg.datum: Oct 2009
Inlägg: 31
johancmedia johancmedia är inte uppkopplad
Nykomling
 
Reg.datum: Oct 2009
Inlägg: 31
Citat:
Ursprungligen postat av coldKingdom Visa inlägg
Kan det här fungera för dig?

PHP-kod:
<?php
$url 
= (!empty($_SERVER['HTTPS'])) ? "https://" "http://";
$url .= $_SERVER["HTTP_HOST"]."?".$_SERVER["QUERY_STRING"];

echo 
$url;
?>
Denna kod fungerar inte, den visar bara http://www.domain.com/?
johancmedia är inte uppkopplad   Svara med citatSvara med citat