PHP (Capturing Current URL) - TechRepublic
General discussion
June 14, 2001 at 01:47 AM
rakeshkanojia

PHP (Capturing Current URL)

by rakeshkanojia . Updated 25 years ago

Is there a way the currect URL of the page can be read without using a form with post.

I’am calling another PHP file via HREF link & want to know the URL of the calling page

I know $HTTP_REFERER works with the form

thanks
Rakesh

This discussion is locked

All Comments