Click to See Complete Forum and Search --> : Can PHP read the current # in the URL??


mitya
11-17-2003, 11:46 AM
I'm using PHP_SELF to return the current document path, but PHP_SELF seems to only pick up as far as the file, and omits any query string vars or fragments (#).

Is is possible for PHP to acknowledge the current # in the URL?

Thanks in advance.

pyro
11-17-2003, 11:55 AM
Hmm... I'm going to stick my neck out here, and say no, I do not think that is possible.

mitya
11-17-2003, 11:56 AM
Hmm surely a flaw? If PHP_SELF exists at all, it might as well be able to read a full URL in whatever parsing form it arrives.

PHP 6 take note!