Jump to content
php.lv forumi

Adrese


Janhouse

Recommended Posts

Ko tā, neatradi $_SERVER?

echo 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING'];

kam tev tur SCRIPT_NAME??

QUERY_STRING tad jau drīzāk, bet to pašu var panākt ar vienkāršu $_SERVER["REQUEST_URI"];

Link to comment
Share on other sites

×
×
  • Create New...