Posted by Juliette on 08/19/06 18:54
Flaming Corncob wrote:
> Using $_SERVER['HTTP_REFERER'], you might get (for example)
> http://widgets.com/test/test_new.php?page=2. Is there a way to extract
> the "widgets.com/test/test_new.php" portion of it and store it in a
> string?
>
> Thanks much.
Have a look at: http://www.php.net/parse-url
Navigation:
[Reply to this message]
|