how do i get the url of the current page using PHP in an HTML page?

philipsmc500

New member
I'm trying to make a custom 404 page and i want it to say the name of the page the person was trying to go to. all i want to do is what Google does. For example go to google.com/nonexistantpage

any help would be great, thanks
 
Back
Top