Help with some php

Can anyone help me with some php…

all i would like is some php that gets the whole URL and places it into a variable?
can anyone help me ??