Page 1 of 1

Difference b/w REDIRECT_URL and REQUEST_URI

Posted: Tue Sep 13, 2005 9:51 am
by anjanesh
Hi

Whats the difference between $_SERVER['REDIRECT_URL'] and $_SERVER['REQUEST_URI'] ?
Both seem to return the same value always.

Anyone know a situation where the values are different ?

Thanks

Posted: Tue Sep 13, 2005 7:47 pm
by feyd
REDIRECT_URL may or may not exist, REQUEST_URI most often will exist.