luca
luca

Reputation: 37136

PHP predefined variable storing Url

Even if they are quite different I'm going to compare to php predefined variables:

$_SERVER['HTTP_REFERRER']

$_SERVER['PHP_SELF']

IS THERE ANY WAY I CAN STORE THE CURRENT PAGE PLUS THE GET PARAMETERS?

thanks

Luca

Upvotes: 0

Views: 323

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798516

You want $_SERVER["REQUEST_URI"].

Upvotes: 3

Related Questions