need a PHP location code<

windows

Guest
hi
is there a PHP code that's equivalent to Javascript's window.location?
please help thanks!$_SERVER['PHP_SELF'](gets everything after the domain) and $_SERVER['HTTP_HOST'] (i think thats it, gets the domain)if you want a redirect than look at header() (php.net/header) function
 
Back
Top