Page 1 of 1

How to get a path of url

Posted: Wed Jul 25, 2007 11:26 pm
by johnhelen
Hello

I have a url like this

http://www.myweb.com/stories/mystory.php?cls=3012

I will get full url if I use this:

$_SERVER['HTTP_REFERER'];

I want to get a path of this url like:

http://www.myweb.com/stories

How I can do this

Thank you

Posted: Thu Jul 26, 2007 12:00 am
by feyd